-
-
Save jfsiii/969893 to your computer and use it in GitHub Desktop.
AMD-compatible CommonJS Module/1.1 that can also be loaded in a script tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (define) { | |
define(function (exports) { | |
function Color(){} | |
return Color; | |
}); | |
}( | |
// provide define if it's not available | |
this.define || (function (global, moduleId) { | |
return function (defFunc) { | |
global[moduleId] = defFunc({}); | |
} | |
})(this, 'Color') | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment