blob: 9df3d0b5d658e855666e31367c039679c6dd9a33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module unless amdModuleId is set
define(["jquery"], function (a0) {
return (factory(a0));
});
} else if (typeof exports === 'object') {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory(require("jquery"));
} else {
factory(jQuery);
}
}(this, function ($) {
<%= contents %>
}));
|