Consistently use "use strict" where possible.

R=rossberg@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#25748}
This commit is contained in:
yangguo 2014-12-10 06:40:54 -08:00 committed by Commit bot
parent d28b2a194d
commit f65a023fac
9 changed files with 13 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -7,6 +7,8 @@
// var $Function = global.Function;
// var $Array = global.Array;
"use strict";
(function() {
function FunctionToMethod(homeObject) {

View File

@ -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:

View File

@ -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;

View File

@ -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:

View File

@ -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:

View File

@ -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;
}

View File

@ -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