mirror of
https://github.com/jquery/jquery.git
synced 2026-02-08 08:25:20 -05:00
Build: update grunt-jscs-checker and pass with the new rules
This commit is contained in:
@@ -224,7 +224,8 @@ this.testIframe = function( fileName, name, fn ) {
|
||||
function loadFixture() {
|
||||
var src = url( "./data/" + fileName + ".html" ),
|
||||
iframe = jQuery( "<iframe />" ).appendTo( "body" )[ 0 ];
|
||||
iframe.style.cssText = "width: 500px; height: 500px; position: absolute; top: -600px; left: -600px; visibility: hidden;";
|
||||
iframe.style.cssText = "width: 500px; height: 500px; position: absolute; " +
|
||||
"top: -600px; left: -600px; visibility: hidden;";
|
||||
|
||||
iframe.contentWindow.location = src;
|
||||
return iframe;
|
||||
@@ -304,7 +305,8 @@ this.loadTests = function() {
|
||||
|
||||
// Load the TestSwarm listener if swarmURL is in the address.
|
||||
if ( loadSwarm ) {
|
||||
require( [ "http://swarm.jquery.org/js/inject.js?" + (new Date()).getTime() ], function() {
|
||||
require( [ "http://swarm.jquery.org/js/inject.js?" + (new Date()).getTime() ],
|
||||
function() {
|
||||
QUnit.start();
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user