Skip to content
Permalink
Browse files

Don't execute DOM ready tests in AMD mode (they aren't loaded before …

…DOM ready). Close gh-1335.

Conflicts:
	src/manipulation.js
  • Loading branch information...
markelog authored and timmywil committed Aug 16, 2013
1 parent b693b37 commit ef694f6cc77674fc119b8bfa32c74aa456b84eb6
Showing with 6 additions and 0 deletions.
  1. +6 −0 test/unit/event.js
@@ -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 = {};

0 comments on commit ef694f6

Please sign in to comment.
You can’t perform that action at this time.