I am trying to wrap some legacy js code in modules so that they can be loaded with RequireJS.
I have three jQuery plugins, let\'s call them a,b and c.
If you are really using jquery 1.4 this version doesn't support Requirejs, you should define de shim configuration, however you will have a conflict as jquery defines $ object globally, so it will overwrite any existing global $ variable. I think you can avoid this problem using jQuery.noConflict.