Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit 4b42bea

Browse files
committed
chakrashim: fix lint issues
PR-URL: #475 Reviewed-By: Taylor Woll <tawoll@ntdev.microsoft.com> Reviewed-By: Jack Horton <Jack.Horton@microsoft.com>
1 parent 080e431 commit 4b42bea

File tree

1 file changed

+24
-25
lines changed

1 file changed

+24
-25
lines changed

deps/chakrashim/lib/chakra_shim.js

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,27 @@
2121
/* eslint-disable strict */
2222
(function(keepAlive) {
2323
// Save original builtIns
24-
var
25-
Function_prototype_toString = Function.prototype.toString,
26-
Object_defineProperty = Object.defineProperty,
27-
Object_getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor,
28-
Object_getOwnPropertyNames = Object.getOwnPropertyNames,
29-
Object_keys = Object.keys,
30-
Object_prototype_toString = Object.prototype.toString,
31-
Object_setPrototypeOf = Object.setPrototypeOf,
32-
Reflect_apply = Reflect.apply,
33-
Reflect_construct = Reflect.construct,
34-
Map_keys = Map.prototype.keys,
35-
Map_values = Map.prototype.values,
36-
Map_entries = Map.prototype.entries,
37-
Set_entries = Set.prototype.entries,
38-
Set_values = Set.prototype.values,
39-
Symbol_keyFor = Symbol.keyFor,
40-
Symbol_for = Symbol.for,
41-
Global_ParseInt = parseInt,
42-
JSON_parse = JSON.parse,
43-
JSON_stringify = JSON.stringify;
44-
var BuiltInError = Error;
45-
var global = this;
24+
const Function_prototype_toString = Function.prototype.toString;
25+
const Object_defineProperty = Object.defineProperty;
26+
const Object_getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
27+
const Object_getOwnPropertyNames = Object.getOwnPropertyNames;
28+
const Object_keys = Object.keys;
29+
const Object_prototype_toString = Object.prototype.toString;
30+
const Object_setPrototypeOf = Object.setPrototypeOf;
31+
const Reflect_apply = Reflect.apply;
32+
const Reflect_construct = Reflect.construct;
33+
const Map_keys = Map.prototype.keys;
34+
const Map_values = Map.prototype.values;
35+
const Map_entries = Map.prototype.entries;
36+
const Set_entries = Set.prototype.entries;
37+
const Set_values = Set.prototype.values;
38+
const Symbol_keyFor = Symbol.keyFor;
39+
const Symbol_for = Symbol.for;
40+
const Global_ParseInt = parseInt;
41+
const JSON_parse = JSON.parse;
42+
const JSON_stringify = JSON.stringify;
43+
const BuiltInError = Error;
44+
const global = this;
4645

4746
// Simulate V8 JavaScript stack trace API
4847
function StackFrame(func, funcName, fileName, lineNumber, columnNumber) {
@@ -614,9 +613,9 @@
614613

615614
var attributes = 0;
616615
// taken from v8.h. Update if this changes in future
617-
const ReadOnly = 1,
618-
DontEnum = 2,
619-
DontDelete = 4;
616+
const ReadOnly = 1;
617+
const DontEnum = 2;
618+
const DontDelete = 4;
620619

621620
if (!descriptor.writable) {
622621
attributes |= ReadOnly;

0 commit comments

Comments
 (0)