mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-09 03:01:18 +02:00
19 lines
458 B
JavaScript
19 lines
458 B
JavaScript
(function (global, factory) {
|
|
if (typeof define === "function" && define.amd) {
|
|
define('ss.jQuery', ['module'], factory);
|
|
} else if (typeof exports !== "undefined") {
|
|
factory(module);
|
|
} else {
|
|
var mod = {
|
|
exports: {}
|
|
};
|
|
factory(mod);
|
|
global.ssJQuery = mod.exports;
|
|
}
|
|
})(this, function (module) {
|
|
'use strict';
|
|
|
|
var jQuery = typeof window.jQuery !== 'undefined' ? window.jQuery : null;
|
|
|
|
module.exports = jQuery;
|
|
}); |