mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
97176581eb
- Don't watch in prod mode - Use gulp-if instead of if statements
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;
|
|
}); |