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 --- src/css/adjustCSS.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/css') diff --git a/src/css/adjustCSS.js b/src/css/adjustCSS.js index f1d1f00ce..ded3a1666 100644 --- a/src/css/adjustCSS.js +++ b/src/css/adjustCSS.js @@ -10,8 +10,12 @@ function adjustCSS( elem, prop, valueParts, tween ) { scale = 1, maxIterations = 20, currentValue = tween ? - function() { return tween.cur(); } : - function() { return jQuery.css( elem, prop, "" ); }, + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, initial = currentValue(), unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), -- cgit v1.2.3