Closed nmatthew123 closed 8 years ago
+1
This worked for me
requirejs.config({
paths: {
"jquery": "../bower_components/jquery/dist/jquery.min",
"jScrollPane": "../bower_components/jScrollPane/script/jquery.jscrollpane",
"jquery.mousewheel": "../bower_components/jScrollPane/script/jquery.mousewheel",
"jquery.easing": "../bower_components/jquery.easing/js/jquery.easing",
"mwheelIntent": "../bower_components/jScrollPane/script/mwheelIntent"
},
shim: {
"jScrollPane": ["jquery", "jquery.mousewheel", "mwheelIntent", "jquery.easing"],
"jquery": {exports: "jQuery"},
"jquery.mousewheel": ["jquery"],
"jquery.easing": ["jquery"],
"mwheelIntent": ["jquery"]
}
});
Should be fixed now
This is more of a comment/query. I am trying to include this plugin using requirejs and I am having a lot of issues with this loading. I have tried to shim it but with no luck. Will this plugin be rewritten to be AMD compliant?