SteveSanderson / knockout-es5

Knockout.js meets ECMAScript 5 properties
158 stars 39 forks source link

Removed "global" so that r.js optimizer picks it up #29

Closed jods4 closed 9 years ago

jods4 commented 9 years ago

r.js optimizer doesn't see the global.define() call so I replaced it by define().

This should not have any unwanted consequences as this is the syntax that KO itself already uses.

Fixes #28.

archangel-irk commented 9 years ago

Thank you very much :)