I\'m using requirejs for the first time on a project. I\'m working in an environment that has a lot of Javascript in place already, and I\'m looking for clean ways to introd
Multiple versions of jQuery on one page is bad. Stop hacking and upgrade jQuery or use the older version.
As for keeping $
safe try
(function($) {
// requirejs inclusion block for loading
}(jQuery.noConflict(true));
If you pass true
to .noConflict
it will replace the old jQuery
variable and not destroy that globally.
This means you can pass it in quietly. Say you have