mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 00:08:17 -05:00
Build: ESLint details
Use eslint pragmas, fix new errors, etc Closes gh-3148
This commit is contained in:
@@ -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" ),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user