Skip to content
Permalink
Browse files

adds strict rule to jshint options (except for test files). "use stri…

…ct" is added to the main jQuery closure and some "could-be-unsafe" `this` trickery in effects is silenced.
  • Loading branch information...
jaubourg committed Oct 18, 2012
1 parent ee9687d commit 9346c0ef9938b44f3711d588ebdb6800bc077d8f
Showing with 5 additions and 0 deletions.
  1. +1 −0 .jshintrc
  2. +2 −0 src/.jshintrc
  3. +1 −0 src/effects.js
  4. +1 −0 src/intro.js
@@ -9,6 +9,7 @@
"node": true,
"quotmark": "double",
"smarttabs": true,
"strict": true,
"trailing": true,
"undef": true,
"unused": true
@@ -6,8 +6,10 @@
"evil": true,
"expr": true,
"maxerr": 100,
"newcap": false,
"quotmark": "double",
"smarttabs": true,
"strict": true,
"sub": true,
"trailing": true,
"undef": true,
@@ -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,
@@ -12,3 +12,4 @@
* Date: @DATE
*/
(function( window, undefined ) {
"use strict";

0 comments on commit 9346c0e

Please sign in to comment.
You can’t perform that action at this time.