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.
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.