From 58c6ca9822afa42d3b40cca8edb0abe90a2bcb34 Mon Sep 17 00:00:00 2001 From: Oleg Gaidarenko Date: Tue, 10 May 2016 12:12:28 +0300 Subject: Build: ESLint details Use eslint pragmas, fix new errors, etc Closes gh-3148 --- test/unit/dimensions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/unit/dimensions.js') diff --git a/test/unit/dimensions.js b/test/unit/dimensions.js index 8d304c435..5741b2af7 100644 --- a/test/unit/dimensions.js +++ b/test/unit/dimensions.js @@ -408,7 +408,7 @@ QUnit.test( "passing undefined is a setter #5571", function( assert ) { QUnit.test( "setters with and without box-sizing:border-box", function( assert ) { assert.expect( 120 ); - var parent = jQuery( "#foo" ).css({ width: "200px", height: "200px", "font-size": "16px" }), + var parent = jQuery( "#foo" ).css( { width: "200px", height: "200px", "font-size": "16px" } ), el_bb = jQuery( "
" ).appendTo( parent ), el = jQuery( "
" ).appendTo( parent ), el_bb_np = jQuery( "
" ).appendTo( parent ), @@ -520,9 +520,9 @@ QUnit.test( "outside view position (gh-2836)", function( assert ) { parent.one( "scroll", function() { var pos = parent.find( "div" ).eq( 3 ).position(); - assert.strictEqual(pos.top, -100); + assert.strictEqual( pos.top, -100 ); stop(); - }); + } ); parent.scrollTop( 400 ); } ); -- cgit v1.2.3