jrburke/requirejs — Issue #153: requirejs is too aggressive in detecting jQuery
Author: jrburke
Created: 2011-12-21 05:39:55+00:00
State: open

To try to allow using older jQuery versions before 1.7 as module, requirejs detects if jQuery is in the page after each script load and if so will use that as the 'jquery' module value. However, it does this check at the end of the file too, as part of the script setup.

In particular, this causes an issue when using require-jquery.js on a page that has an existing jQuery, where that existing one will be used instead of the bundled one.