Skip to content
Browse files

Fix #13335. Remove "use strict".

  • Loading branch information
dmethvin committed Feb 1, 2013
1 parent 1923da8 commit 7adee6c4da5c89e96b1532b6bd3faa1ee4bfdb2a
Showing with 6 additions and 2 deletions.
  1. +0 −1 src/.jshintrc
  2. +6 −1 src/intro.js
@@ -4,7 +4,6 @@
"newcap": false,
"quotmark": "double",
"regexdash": true,
"strict": true,
"trailing": true,
"undef": true,
"unused": true,
@@ -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";

2 comments on commit 7adee6c


This comment has been minimized.

Copy link

@timmywil timmywil replied Feb 1, 2013

You know, ASP needs to update.


This comment has been minimized.

Copy link
Member Author

@dmethvin dmethvin replied Feb 1, 2013

According to Microsoft, the code that's doing this is inside some component that has to be pushed to each Windows system as part of a platform update. So add a few months for that. And/or convince Firefox to allow non-strict code to trace through strict stacks, which probably isn't gonna happen. Since "use strict" isn't really buying us anything, it's gonna walk the plank.

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