Browse Source

refactor: 全局加载

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

8
src/third/jquery.mousewheel.js

@ -7,16 +7,8 @@
*/ */
(function (factory) { (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 // Browser globals
factory(BI.jQuery); factory(BI.jQuery);
}
}(function ($) { }(function ($) {
var toFix = ["wheel", "mousewheel", "DOMMouseScroll", "MozMousePixelScroll"], var toFix = ["wheel", "mousewheel", "DOMMouseScroll", "MozMousePixelScroll"],

Loading…
Cancel
Save