meltingice / CamanJS

Javascript HTML5 (Ca)nvas (Man)ipulation
http://camanjs.com
BSD 3-Clause "New" or "Revised" License
3.55k stars 404 forks source link

Avoid polluting global namespace with `nodeFileReady` function #124

Open lukaszfiszer opened 10 years ago

lukaszfiszer commented 10 years ago

In the current version of Caman the nodeFileReady function is polluting the global namespace.

I'm not very confident with CoffeeScript so this commit may not be the best/valid way of correcting this bug. Actually, I'm quite confused with -> and => mentioned in the commit above the line 110. Please double-check before merging it. Thanks :)