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:
Oleg Gaidarenko
2013-08-16 14:36:08 -04:00
committed by Timmy Willison
parent b693b370a4
commit ef694f6cc7

View File

@@ -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 = {};