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:
parent
d28b2a194d
commit
f65a023fac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user