Can I load jQuery migrate via RequireJS? I don't understand how the timing can be handled correctly. See this example:
require([
'jquery',
'jqmigrate'
], function ($) {
if ($.browser.msie) {...}
});
Isn't is possible that jqmigrate
will load before jquery
? Also, I do not want to keep loading jqmigrate
explicitly in every module. Any way to do this in the require.config
so it loads jqmigrate
automatically when jQuery is required?