silverstripe-framework/javascript/dist/jQuery.js
David Craig 97176581eb Tidy grunt file
- Don't watch in prod mode
- Use gulp-if instead of if statements
2016-03-28 21:02:15 +13:00

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;
});