diff options
author | jaubourg <j@ubourg.net> | 2012-10-18 00:50:01 -0400 |
---|---|---|
committer | jaubourg <j@ubourg.net> | 2012-10-18 00:50:01 -0400 |
commit | 9346c0ef9938b44f3711d588ebdb6800bc077d8f (patch) | |
tree | 91b867925bb6c88fd1f309907ad20dd8081e2035 /src/effects.js | |
parent | ee9687d441d625a420dc65590bbd0b930f800b3f (diff) | |
download | jquery-9346c0ef9938b44f3711d588ebdb6800bc077d8f.tar.gz jquery-9346c0ef9938b44f3711d588ebdb6800bc077d8f.zip |
adds strict rule to jshint options (except for test files). "use strict" is added to the main jQuery closure and some "could-be-unsafe" `this` trickery in effects is silenced.
Diffstat (limited to 'src/effects.js')
-rw-r--r-- | src/effects.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/effects.js b/src/effects.js index dcc6c00b7..7627e3a23 100644 --- a/src/effects.js +++ b/src/effects.js @@ -233,6 +233,7 @@ jQuery.Animation = jQuery.extend( Animation, { }); function defaultPrefilter( elem, props, opts ) { + /*jshint validthis:true */ var index, prop, value, length, dataShow, tween, hooks, oldfire, anim = this, style = elem.style, |