aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects.js
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2013-09-11 05:08:01 +0400
committerOleg <markelog@gmail.com>2013-09-13 01:04:29 +0400
commitcb37994d76afb45efc3b606546349ed4e695c053 (patch)
tree8deabef18039a4f90b7f8035775dcd4bd3474495 /src/effects.js
parente12746d756ef32124b163136fe49e753b35c7111 (diff)
downloadjquery-cb37994d76afb45efc3b606546349ed4e695c053.tar.gz
jquery-cb37994d76afb45efc3b606546349ed4e695c053.zip
No ticket: fix code style inconsistencies. Closes gh-1361
Diffstat (limited to 'src/effects.js')
-rw-r--r--src/effects.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/effects.js b/src/effects.js
index b2d206850..611336053 100644
--- a/src/effects.js
+++ b/src/effects.js
@@ -14,7 +14,7 @@ var
rrun = /queueHooks$/,
animationPrefilters = [ defaultPrefilter ],
tweeners = {
- "*": [function( prop, value ) {
+ "*": [ function( prop, value ) {
var tween = this.createTween( prop, value ),
target = tween.cur(),
parts = rfxnum.exec( value ),
@@ -61,7 +61,7 @@ var
}
return tween;
- }]
+ } ]
};
// Dependencies not needed as vars
@@ -89,7 +89,7 @@ function genFx( type, includeWidth ) {
// if we include width, step value is 1 to do all cssExpand values,
// if we don't include width, step value is 2 to skip over Left and Right
includeWidth = includeWidth ? 1 : 0;
- for( ; i < 4 ; i += 2 - includeWidth ) {
+ for ( ; i < 4 ; i += 2 - includeWidth ) {
which = cssExpand[ i ];
attrs[ "margin" + which ] = attrs[ "padding" + which ] = type;
}
@@ -181,7 +181,6 @@ function defaultPrefilter( elem, props, opts ) {
});
}
-
// show/hide pass
for ( prop in props ) {
value = props[ prop ];