Build: correct style tests files which could be automatically corrected

This commit is contained in:
Oleg Gaidarenko 2015-09-03 02:53:29 +03:00
parent 99975c44ab
commit e35bdc1a22
4 changed files with 18 additions and 16 deletions

2
test/jquery.js vendored
View File

@ -13,6 +13,7 @@
label: "Load with AMD",
tooltip: "Load the AMD jQuery file (and its dependencies)"
} );
// If QUnit is on window, this is the main window
// This detection allows AMD tests to be run in an iframe
if ( QUnit.urlParams.amd && window.QUnit ) {
@ -23,6 +24,7 @@
}
} );
src = "src/jquery";
// Include tests if specified
if ( typeof loadTests !== "undefined" ) {
require( [ src ], loadTests );