UNPKG

342 BJavaScriptView Raw
1(function(root, factory) {
2 if (typeof define === 'function' && define.amd) {
3 define(<%= amd %>, factory);
4 } else if (typeof exports === 'object') {
5 module.exports = factory(<%= cjs %>);
6 } else {
7 root.<%= namespace %> = factory(<%= global %>);
8 }
9}(this, function(<%= param %>) {
10<%= contents %>
11return <%= exports %>;
12}));
13
\No newline at end of file