mbest / knockout-deferred-updates

Deferred Updates plugin for Knockout <=3.3.0
http://mbest.github.io/knockout-deferred-updates/
134 stars 23 forks source link

Add UMD support #7

Closed kennknowles closed 11 years ago

kennknowles commented 11 years ago

Hello!

I have added a typical UMD prelude to support AMD, CommonJS, and browser globals.

Before you suggest a RequireJS "shim" configuration, the problem is that Knockout itself detects AMD and does not define a ko browser global for knockout-deferred-updates to mutate.

mbest commented 11 years ago

Thanks. I'll take a look at including this soon.

mbest commented 11 years ago

Thanks again. Merged.