I am struggling with getting some code working, and Firebug (1.5.3) is
breaking on an "undefined" error inside the mootools library. The
code in question is
function $extend(original, extended){
for (var key in (extended || {})) original[key] = extended[key];
return original;
};
and the variable extended is indeed undefined. But I assume that
logic test
(extended || {})
is a valid way of assigning an object which then doesn't iterate.
I am not sure if its my understanding of what is allowed in JS or a
real bug in the mootools code.
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en.