Build: fix tests in AMD mode

This commit is contained in:
Timmy Willison
2014-12-09 15:39:24 -05:00
parent 828a718aa0
commit 57652eecd9
7 changed files with 31 additions and 34 deletions

View File

@@ -304,7 +304,9 @@ this.loadTests = function() {
/**
* Run in noConflict mode
*/
jQuery.noConflict();
if ( jQuery.noConflict ) {
jQuery.noConflict();
}
// Load the TestSwarm listener if swarmURL is in the address.
if ( loadSwarm ) {