aboutsummaryrefslogtreecommitdiffstats
path: root/src
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:17:39 -0500
commit0e2977583c0455eda940a28b2499cad2cbf24ee4 (patch)
tree03584ed25a0f4e5b7677b2b30776161c8c52a381 /src
parent115143b198772ca7b35613f06fdcca2aa3aaa039 (diff)
downloadjquery-0e2977583c0455eda940a28b2499cad2cbf24ee4.tar.gz
jquery-0e2977583c0455eda940a28b2499cad2cbf24ee4.zip
Fix #13335. Remove "use strict".
Diffstat (limited to 'src')
-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 a3683b411..c9b1dcdad 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";