mootools/mootools-core — Issue #2107: 'false' has attributes
Author: maorcc
Created: 2011-10-16 08:42:56+00:00
State: open

The 'false' literal normally in JavaScript has no attributes.
Mootools adds the following two attributes: $family and $constructor

This causes a graphical library that i use (called HighCharts) to break when I use MooTools because it assumes that the following line will not enter the loop if obj is 'false':
for (i in obj) alert(i)
try here: http://jsfiddle.net/tDYac/

Is there a way to hide the $family and $constructor in the 'false' boolean literal?

Thanks,
Maor