aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Aubourg <j@ubourg.net>2012-10-19 01:13:41 -0700
committerJulian Aubourg <j@ubourg.net>2012-10-19 01:13:41 -0700
commitb386080798a34d974f8da195bfa8a1c581798507 (patch)
treeb843f5ab59e86e0e45033af182d3644e0abccff4
parentee9687d441d625a420dc65590bbd0b930f800b3f (diff)
parent739ba96318f65d2f2c3c80772519fc0887a8c798 (diff)
downloadjquery-b386080798a34d974f8da195bfa8a1c581798507.tar.gz
jquery-b386080798a34d974f8da195bfa8a1c581798507.zip
Merge pull request #998 from jquery/strict
-rw-r--r--src/.jshintrc2
-rw-r--r--src/effects.js1
-rw-r--r--src/intro.js1
3 files changed, 4 insertions, 0 deletions
diff --git a/src/.jshintrc b/src/.jshintrc
index d74bf14fd..bc4ae7750 100644
--- a/src/.jshintrc
+++ b/src/.jshintrc
@@ -6,8 +6,10 @@
"evil": true,
"expr": true,
"maxerr": 100,
+ "newcap": false,
"quotmark": "double",
"smarttabs": true,
+ "strict": true,
"sub": true,
"trailing": true,
"undef": true,
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,
diff --git a/src/intro.js b/src/intro.js
index c041bb4ba..0b98012ec 100644
--- a/src/intro.js
+++ b/src/intro.js
@@ -12,3 +12,4 @@
* Date: @DATE
*/
(function( window, undefined ) {
+"use strict";