use double quotes instead of single
This commit is contained in:
parent
f5ccb9c0ba
commit
a9ff73b4f6
@ -259,7 +259,7 @@ ReplaceSupers.prototype.specHandle = function (getThisReference, node, parent) {
|
|||||||
computed = node.computed;
|
computed = node.computed;
|
||||||
} else if (t.isAssignmentExpression(node)) {
|
} else if (t.isAssignmentExpression(node)) {
|
||||||
if (!t.isIdentifier(node.left.object, { name: "super" })) return;
|
if (!t.isIdentifier(node.left.object, { name: "super" })) return;
|
||||||
if (methodNode.kind !== 'set') return;
|
if (methodNode.kind !== "set") return;
|
||||||
|
|
||||||
thisReference = getThisReference();
|
thisReference = getThisReference();
|
||||||
// super.name = "val"; -> _set(Object.getPrototypeOf(ClassName.prototype), "name", this);
|
// super.name = "val"; -> _set(Object.getPrototypeOf(ClassName.prototype), "name", this);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user