Created
February 1, 2017 06:54
-
-
Save Obooman/5a93e5bad400e4dd11a6b0e8385e1ee1 to your computer and use it in GitHub Desktop.
UMD snippet.
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 (window, factory) { | |
if (typeof exports === 'object') { | |
module.exports = factory(); | |
} else if (typeof define === 'function' && define.amd) { | |
define(factory); | |
} else { | |
window.eventUtil = factory(); | |
} | |
})(this, function () { | |
//module ... | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment