timjansen / PinkySwear.js

Promises/A+ compliant in less than 500 bytes
89 stars 12 forks source link

Use Universal Module Definition #14

Closed davidpadbury closed 8 years ago

davidpadbury commented 8 years ago

I ran into an issue using PinkySwear with a RequireJS build. Because of the way registration was being done r.js didn't see a module.exports and therefore didn't wrap it as a module.

I've changed it to using a form of UMD that supports AMD, CommonJS and Browsers.

timjansen commented 8 years ago

Awesome, thank you!

davidpadbury commented 8 years ago

No problem. Thanks for the super fast response!