mirror of
https://github.com/jquery/jquery.git
synced 2026-01-23 23:18:02 -05:00
Don't execute DOM ready tests in AMD mode (they aren't loaded before DOM ready). Close gh-1335.
Conflicts: src/manipulation.js
This commit is contained in:
committed by
Timmy Willison
parent
b693b370a4
commit
ef694f6cc7
@@ -2448,6 +2448,12 @@ if ( hasPHP ) {
|
||||
|
||||
(function(){
|
||||
// This code must be run before DOM ready!
|
||||
if ( QUnit.urlParams.amd ) {
|
||||
|
||||
// If we load jQuery through requirejs DOM will be already loaded
|
||||
return;
|
||||
}
|
||||
|
||||
var notYetReady, noEarlyExecution,
|
||||
order = [],
|
||||
args = {};
|
||||
|
||||
Reference in New Issue
Block a user