remove debug console.log
This commit is contained in:
parent
418de75e77
commit
7072f64397
@ -214,7 +214,6 @@ ReplaceSupers.prototype.specHandle = function (getThisReference, node, parent) {
|
|||||||
// - https://twitter.com/wycats/status/544553184396836864
|
// - https://twitter.com/wycats/status/544553184396836864
|
||||||
if (methodNode.key.name !== "constructor") {
|
if (methodNode.key.name !== "constructor") {
|
||||||
var methodName = methodNode.key.name || "METHOD_NAME";
|
var methodName = methodNode.key.name || "METHOD_NAME";
|
||||||
console.log(node);
|
|
||||||
throw this.file.errorWithNode(node, "Direct super call is illegal in non-constructor, use super." + methodName + "() instead");
|
throw this.file.errorWithNode(node, "Direct super call is illegal in non-constructor, use super." + methodName + "() instead");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user