18 lines
612 B
JavaScript
18 lines
612 B
JavaScript
(function (root, factory) {
|
|
if (root === undefined && window !== undefined) root = window;
|
|
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 module === 'object' && module.exports) {
|
|
// 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(root["jQuery"]);
|
|
}
|
|
}(this, function (jQuery) {
|
|
|