Skip to content

Commit dda87f6

Browse files
committed
Build: enable JSCS for test/unit/support.js, fix styling issues
1 parent 28f0329 commit dda87f6

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Gruntfile.js

+1
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ module.exports = function( grunt ) {
134134
"test/data/testrunner.js",
135135
"test/unit/animation.js",
136136
"test/unit/basic.js",
137+
"test/unit/support.js",
137138
"test/unit/tween.js",
138139
"test/unit/wrap.js"
139140
],

test/unit/support.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ if ( jQuery.css ) {
2929
};
3030
assert.ok( okValue[ color ], "color was not reset (" + color + ")" );
3131

32-
assert.deepEqual( jQuery.extend( {}, support ), computedSupport, "Same support properties" );
32+
assert.deepEqual( jQuery.extend( {}, support ), computedSupport,
33+
"Same support properties" );
3334
}
3435
);
3536
}
@@ -43,7 +44,8 @@ testIframeWithCallback(
4344
var done = assert.async();
4445

4546
assert.expect( 2 );
46-
assert.deepEqual( jQuery.extend( {}, support ), computedSupport, "No violations of CSP polices" );
47+
assert.deepEqual( jQuery.extend( {}, support ), computedSupport,
48+
"No violations of CSP polices" );
4749

4850
supportjQuery.get( "data/support/csp.log" ).done( function( data ) {
4951
assert.equal( data, "", "No log request should be sent" );
@@ -273,6 +275,6 @@ testIframeWithCallback(
273275
assert.ok( true, "no ajax; skipping jQuery.support['" + i + "']" );
274276
}
275277
}
276-
});
278+
} );
277279

278280
} )();

0 commit comments

Comments
 (0)