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.

This commit is contained in:
jaubourg
2012-10-18 00:50:01 -04:00
parent ee9687d441
commit 9346c0ef99
4 changed files with 5 additions and 0 deletions

1
src/effects.js vendored
View File

@@ -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,