aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2016-01-27 12:13:32 +0100
committerMichał Gołębiowski <m.goleb@gmail.com>2016-01-27 12:14:17 +0100
commitdda87f6b16fa36c728aef1a85a69176a36cf5b21 (patch)
tree6439f86a54d4e2904aa1582cfac323e039b57de1
parent28f0329a02c453ae26b6bc028b6aaeec578bef6f (diff)
downloadjquery-dda87f6b16fa36c728aef1a85a69176a36cf5b21.tar.gz
jquery-dda87f6b16fa36c728aef1a85a69176a36cf5b21.zip
Build: enable JSCS for test/unit/support.js, fix styling issues
-rw-r--r--Gruntfile.js1
-rw-r--r--test/unit/support.js8
2 files changed, 6 insertions, 3 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 1e204ad23..ec1705a50 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -134,6 +134,7 @@ module.exports = function( grunt ) {
"test/data/testrunner.js",
"test/unit/animation.js",
"test/unit/basic.js",
+ "test/unit/support.js",
"test/unit/tween.js",
"test/unit/wrap.js"
],
diff --git a/test/unit/support.js b/test/unit/support.js
index f51c53502..3e6af1ae7 100644
--- a/test/unit/support.js
+++ b/test/unit/support.js
@@ -29,7 +29,8 @@ if ( jQuery.css ) {
};
assert.ok( okValue[ color ], "color was not reset (" + color + ")" );
- assert.deepEqual( jQuery.extend( {}, support ), computedSupport, "Same support properties" );
+ assert.deepEqual( jQuery.extend( {}, support ), computedSupport,
+ "Same support properties" );
}
);
}
@@ -43,7 +44,8 @@ testIframeWithCallback(
var done = assert.async();
assert.expect( 2 );
- assert.deepEqual( jQuery.extend( {}, support ), computedSupport, "No violations of CSP polices" );
+ assert.deepEqual( jQuery.extend( {}, support ), computedSupport,
+ "No violations of CSP polices" );
supportjQuery.get( "data/support/csp.log" ).done( function( data ) {
assert.equal( data, "", "No log request should be sent" );
@@ -273,6 +275,6 @@ testIframeWithCallback(
assert.ok( true, "no ajax; skipping jQuery.support['" + i + "']" );
}
}
- });
+ } );
} )();