Created
September 2, 2014 08:51
-
-
Save isRuslan/730a3ec97eea4e6534af to your computer and use it in GitHub Desktop.
JS for node and browser.
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(exports){ | |
// your code goes here | |
exports.test = function(){ | |
return 'hello world' | |
}; | |
})(typeof exports === 'undefined'? this['mymodule']={}: exports); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment