Skip to content

Instantly share code, notes, and snippets.

@justyn-clark
Created January 18, 2018 23:02
Show Gist options
  • Save justyn-clark/66ab12320fb2043d768e6d86fefc3d35 to your computer and use it in GitHub Desktop.
Save justyn-clark/66ab12320fb2043d768e6d86fefc3d35 to your computer and use it in GitHub Desktop.
AMD Module
;(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory();
} else {
root.JUSTYNCLARK = factory();
}
}(this, function () {
return {
poo: this
};
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment