|
@@ -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'];
|