mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
Build: correct style tests files which could be automatically corrected
This commit is contained in:
parent
99975c44ab
commit
e35bdc1a22
2
test/jquery.js
vendored
2
test/jquery.js
vendored
@ -13,6 +13,7 @@
|
|||||||
label: "Load with AMD",
|
label: "Load with AMD",
|
||||||
tooltip: "Load the AMD jQuery file (and its dependencies)"
|
tooltip: "Load the AMD jQuery file (and its dependencies)"
|
||||||
} );
|
} );
|
||||||
|
|
||||||
// If QUnit is on window, this is the main window
|
// If QUnit is on window, this is the main window
|
||||||
// This detection allows AMD tests to be run in an iframe
|
// This detection allows AMD tests to be run in an iframe
|
||||||
if ( QUnit.urlParams.amd && window.QUnit ) {
|
if ( QUnit.urlParams.amd && window.QUnit ) {
|
||||||
@ -23,6 +24,7 @@
|
|||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
src = "src/jquery";
|
src = "src/jquery";
|
||||||
|
|
||||||
// Include tests if specified
|
// Include tests if specified
|
||||||
if ( typeof loadTests !== "undefined" ) {
|
if ( typeof loadTests !== "undefined" ) {
|
||||||
require( [ src ], loadTests );
|
require( [ src ], loadTests );
|
||||||
|
Loading…
Reference in New Issue
Block a user