Created
August 25, 2016 09:31
-
-
Save shuson/0c839237bf321136f55ce530920d1d48 to your computer and use it in GitHub Desktop.
underscore umd code
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
if (typeof exports !== 'undefined') { | |
if (typeof module !== 'undefined' && module.exports) { | |
exports = module.exports = _; | |
} | |
exports._ = _; | |
} else { | |
this._ = _; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment