Created
January 11, 2010 23:10
-
-
Save subtleGradient/274707 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| require('MooTools').apply(global); // extends natives; extends global | |
| require('Class').setup.apply(global); // extends global |
This file contains hidden or 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 Class(){ | |
| this.Class = function(){}; | |
| //… | |
| } | |
| /*<b support=CommonJS>*/if (typeof exports != 'undefined') exports.setup = Class; else/*</b>*/ Class.apply(this || window); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment