line_push/node_modules/loadjs/umd-templates/UMD.js
2022-07-17 13:16:16 +08:00

12 lines
319 B
JavaScript

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(<%= amd %>, factory);
} else if (typeof exports === 'object') {
module.exports = factory(<%= cjs %>);
} else {
root.<%= namespace %> = factory(<%= global %>);
}
}(this, function(<%= param %>) {
<%= contents %>
}));