test for parseWidgets causes unnecessary exception, disturbs debugging
In Parse.js, the following snippet tests if parseWidgets=="false":
try{
if(node.getAttribute("parseWidgets").toLowerCase() == "false"){
return {};
}
}catch(e){/*continue*/}
This causes f ex FireBug? to break when "Break On Errors" is active, as in many cases node.getAttribute() will return null and .toLowerCase() will throw a "null has no properties" exception (which is no problem as the exception is consumed right after).
But, it is bit of an annoyance having to "continue" over and over again while debugging your own code in FireBug?.
(Assigning to Alex as he checked in this code.)
Best regards
Mike Wilson
Change History (5)
Milestone: |
→ 0.5
|
Owner: |
changed from alex to bill
|
Status: |
new →
assigned
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
(In [6767]) Fixes #2039