Adding Requirejs Module That Uses Jquery On A Page That Already Has Jquery As A Global
I have an add-on to an application (call it appX) that allows users to create their own customizations using javascript, css and appX's webservices api. Usually customizations are
Solution 1:
Almost a year late but better than no answer at all...
The following part should be moved into a "jquery-private.js" file:
define(['jquery'], function (jq) {
return jq.noConflict( true );
});
You can't define a module in your main entry point. Even if you could, the module has no name so how would you reference it?
Post a Comment for "Adding Requirejs Module That Uses Jquery On A Page That Already Has Jquery As A Global"