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

Loading…
Cancel
Save