Permalink
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 444 Bytes
"use strict";
(function(root, factory) {
if(typeof exports === 'object') {
module.exports = factory({{{cjsDependencies}}});
}
else if(typeof define === 'function' && define.amd) {
define({{#if amdModuleId}}'{{amdModuleId}}', {{/if}}[{{{amdDependencies}}}], factory);
}
else {
root.{{globalAlias}} = factory({{{globalDependencies}}});
}
}(this, function({{dependencies}}) {
{{{code}}}
return {{objectToExport}};
}));