Skip to content

Instantly share code, notes, and snippets.

@gracefullight
Created December 22, 2016 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gracefullight/456d5e36898586c008f3cef1aab0cf16 to your computer and use it in GitHub Desktop.
Save gracefullight/456d5e36898586c008f3cef1aab0cf16 to your computer and use it in GitHub Desktop.
(function (global, factory) {
if (typeof define === 'function' && define.amd) {
define(['exports'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
factory(exports);
} else {
factory((global.module1 = global.module1 || {}));
}
}(this, function (exports) {
exports.action = function () {};
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment