Closed ElliotChong closed 11 years ago
Great catch!
Bug: Lodash defines a local variable named Array
with no default value, and when the function responsible for giving it a value executes, fondue immediately tries to use Array.prototype.slice
to get a copy of the arguments and fails.
The release with this fix is pending and I really hope to have it out this week. For now, you can apply that patch locally if you like (it's tiny).
Thanks as always Tom!
When including Lodash in a webpage I'm seeing an error where standard JS objects are undefined (i.e.: Array, String, Function, etc.) when accessing them globally; however, they are accessible on the window object.
Loading Lodash outside of Theseus does not have this error occur. I've disabled loading all other scripts but Lodash to ensure there aren't any confounding factors.