From a29d118569f7dc79165f8a50495bb2e4c5976f8b Mon Sep 17 00:00:00 2001 From: iapyang Date: Thu, 4 Jun 2020 10:11:06 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=85=A8=E5=B1=80=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/third/jquery.mousewheel.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/third/jquery.mousewheel.js b/src/third/jquery.mousewheel.js index 23d4648ad..0d7ff8cb9 100644 --- a/src/third/jquery.mousewheel.js +++ b/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"],