Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(686)

Unified Diff: src/liveedit-debugger.js

Issue 789163002: Consistently use "use strict" where possible. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/harmony-typedarray.js ('k') | src/string-iterator.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/liveedit-debugger.js
diff --git a/src/liveedit-debugger.js b/src/liveedit-debugger.js
index 07214f9657c0b3a99fa7809c41c28fe96234554b..eaa23834c964d22737de4b954a4142edd53a9cc9 100644
--- a/src/liveedit-debugger.js
+++ b/src/liveedit-debugger.js
@@ -19,6 +19,9 @@
// All unchanged functions have their positions updated accordingly.
//
// LiveEdit namespace is declared inside a single function constructor.
+
+"use strict";
+
Debug.LiveEdit = new function() {
// Forward declaration for minifier.
@@ -953,7 +956,7 @@ Debug.LiveEdit = new function() {
FunctionPatchabilityStatus.SymbolName = function(code) {
var enumeration = FunctionPatchabilityStatus;
- for (name in enumeration) {
+ for (var name in enumeration) {
if (enumeration[name] == code) {
return name;
}
« no previous file with comments | « src/harmony-typedarray.js ('k') | src/string-iterator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698