From 7adee6c4da5c89e96b1532b6bd3faa1ee4bfdb2a Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Fri, 1 Feb 2013 17:17:39 -0500 Subject: [PATCH] Fix #13335. Remove "use strict". --- src/.jshintrc | 1 - src/intro.js | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/.jshintrc b/src/.jshintrc index 72a58de2ea..240302db48 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 4e7b69ec35..98815ad874 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";