Created
February 7, 2017 10:14
-
-
Save dented/6d15c2bc7c5a25680ff9d8c8a879bcca to your computer and use it in GitHub Desktop.
UMD Library Template
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
/* **************************************************************************** | |
* libName v0.0.1 | |
* | |
* libName is a set of functions to wrap libName info and | |
* Copyright (c) 2017 Gram <[email protected]> (http://www.whub.io). | |
* Released under the MIT license. You may obtain a copy of the License | |
* at: http://www.opensource.org/licenses/mit-license.php). | |
* ****************************************************************************/ | |
(function(root, factory) { | |
'use strict'; | |
if (typeof define === 'function' && define.amd) { | |
define([], factory); | |
} else if (typeof exports === 'object') { | |
module.exports = factory(); | |
} else { | |
root.libName = factory(); | |
} | |
}(this, function() { | |
'use strict'; | |
var VERSION = '0.0.1'; | |
var exports = function() {}; | |
exports = {}; | |
exports.VERSION = VERSION; | |
return exports; | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment