Created
January 27, 2014 16:40
-
-
Save yyx990803/8652097 to your computer and use it in GitHub Desktop.
umd
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(){ | |
| // module content | |
| if (typeof exports == "object") { | |
| module.exports = require("{{configName}}"); | |
| } else if (typeof define == "function" && define.amd) { | |
| define(function(){ return require("{{configName}}"); }); | |
| } else { | |
| this["{{standaloneName}}"] = require("{{configName}}"); | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment