This commit is contained in:
darenhsu
2022-07-17 13:16:16 +08:00
parent 84759556ff
commit befd344ab0
28070 changed files with 4008428 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
(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 %>
}));
+3
View File
@@ -0,0 +1,3 @@
<%= namespace %> = (function (<%= param %>) {
<%= contents %>
})(<%= global %>);