Browse Source

refactor: 全局加载

es6
iapyang 5 years ago
parent
commit
a29d118569
  1. 12
      src/third/jquery.mousewheel.js

12
src/third/jquery.mousewheel.js

@ -7,16 +7,8 @@
*/ */
(function (factory) { (function (factory) {
if ( typeof define === "function" && define.amd ) { // Browser globals
// AMD. Register as an anonymous module. factory(BI.jQuery);
define(["../core/jquery"], factory);
} else if (typeof exports === "object") {
// Node/CommonJS style for Browserify
module.exports = factory;
} else {
// Browser globals
factory(BI.jQuery);
}
}(function ($) { }(function ($) {
var toFix = ["wheel", "mousewheel", "DOMMouseScroll", "MozMousePixelScroll"], var toFix = ["wheel", "mousewheel", "DOMMouseScroll", "MozMousePixelScroll"],

Loading…
Cancel
Save