mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Tests: Add custom URL configs to QUnit.config.urlConfig for discoverability.
This commit is contained in:
@@ -10,6 +10,7 @@ function includeScript( url ) {
|
||||
document.write( "<script src='../../../" + url + "'></script>" );
|
||||
}
|
||||
|
||||
QUnit.config.urlConfig.push( "min" );
|
||||
TestHelpers.loadResources = QUnit.urlParams.min ?
|
||||
function() {
|
||||
// TODO: proper include with theme images
|
||||
@@ -25,6 +26,7 @@ TestHelpers.loadResources = QUnit.urlParams.min ?
|
||||
});
|
||||
};
|
||||
|
||||
QUnit.config.urlConfig.push( "nojshint" );
|
||||
function testJshint( widget ) {
|
||||
if ( QUnit.urlParams.nojshint ) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user