aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2013-02-01 17:17:39 -0500
committerDave Methvin <dave.methvin@gmail.com>2013-02-01 17:18:57 -0500
commit7adee6c4da5c89e96b1532b6bd3faa1ee4bfdb2a (patch)
treec7ab7a2ab9f787121ea6bdcf20fb73a0341ce848
parent1923da83140f2628c9abf0dafb09041456f3996b (diff)
downloadjquery-7adee6c4da5c89e96b1532b6bd3faa1ee4bfdb2a.tar.gz
jquery-7adee6c4da5c89e96b1532b6bd3faa1ee4bfdb2a.zip
Fix #13335. Remove "use strict".
-rw-r--r--src/.jshintrc1
-rw-r--r--src/intro.js7
2 files changed, 6 insertions, 2 deletions
diff --git a/src/.jshintrc b/src/.jshintrc
index 72a58de2e..240302db4 100644
--- a/src/.jshintrc
+++ b/src/.jshintrc
@@ -4,7 +4,6 @@
"newcap": false,
"quotmark": "double",
"regexdash": true,
- "strict": true,
"trailing": true,
"undef": true,
"unused": true,
diff --git a/src/intro.js b/src/intro.js
index 4e7b69ec3..98815ad87 100644
--- a/src/intro.js
+++ b/src/intro.js
@@ -12,4 +12,9 @@
* Date: @DATE
*/
(function( window, undefined ) {
-"use strict";
+
+// Can't do this because several apps including ASP.NET trace
+// the stack via arguments.caller.callee and Firefox dies if
+// you try to trace through "use strict" call chains. (#13335)
+// Support: Firefox 18+
+//"use strict";