Closed kitsonk closed 12 years ago
Hmm, well the rest of the code uses array_key_exists(), perhaps that's better?
... yah, looks like in_array() is just wrong because it checks for a value, not a key, and this change breaks the display of the top function (ex: dojo/on) completely. I'll check in a fix.
generate.php
is incorrectly trying to determine an existence of a key in an array. Currently is has:When in PHP it should be:
(Also known as what happens when JS developers do PHP)