hyperandroid / CAAT

Canvas Advanced Animation Toolkit
hyperandroid.github.com/CAAT
MIT License
727 stars 117 forks source link

Make CAAT jsLint friendly, removing warnings #59

Closed robboerman closed 12 years ago

robboerman commented 12 years ago

Made source somewhat more jsLint friendly. Removed a lot of double declarations of variables, missing return values, decimal values without a leading 0 (could be mistaken for an object attribute) and missing semicolons. Please check director.js. I made a comment about a local variable redeclaration that smells a bit funny

Added a new commit (6a3f19a) an ActorContainer's Alpha is not applied to it's children. Because that seems a bit useless to me I added the application of the Alpha to the Container's direct children as well.

Also let me know whether you plan to pull the 924d16d changes for making the code more JsLint friendly