How to load jQuery Migrate for jQuery via RequireJS?
问题 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? 回答1: using shims worked for me. I did get stuck because i had