diff --git a/src/js/jquery.select2.js b/src/js/jquery.select2.js index 8b578fc1..ef34bac3 100644 --- a/src/js/jquery.select2.js +++ b/src/js/jquery.select2.js @@ -1,13 +1,10 @@ define([ 'jquery', - 'require', + 'jquery-mousewheel', './select2/core', './select2/defaults' -], function ($, require, Select2, Defaults) { - // Force jQuery.mousewheel to be loaded if it hasn't already - require('jquery.mousewheel'); - +], function ($, _, Select2, Defaults) { if ($.fn.select2 == null) { // All methods that should return the element var thisMethods = ['open', 'close', 'destroy'];