Commit f65a023f authored by yangguo's avatar yangguo Committed by Commit bot

Consistently use "use strict" where possible.

R=rossberg@chromium.org

Review URL: https://codereview.chromium.org/789163002

Cr-Commit-Position: refs/heads/master@{#25748}
parent d28b2a19
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
'use strict';
"use strict";
// This file relies on the fact that the following declaration has been made
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
'use strict';
"use strict";
// This file relies on the fact that the following declaration has been made
......
......@@ -7,6 +7,8 @@
// var $Function = global.Function;
// var $Array = global.Array;
"use strict";
(function() {
function FunctionToMethod(homeObject) {
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
'use strict';
"use strict";
// This file relies on the fact that the following declaration has been made
// in runtime.js:
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
'use strict';
"use strict";
var callSiteCache = new $Map;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
'use strict';
"use strict";
// This file relies on the fact that the following declaration has been made
// in runtime.js and symbol.js:
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
'use strict';
"use strict";
// This file relies on the fact that the following declaration has been made
// in runtime.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;
}
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
'use strict';
"use strict";
// This file relies on the fact that the following declaration has been made
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment