rename prettyPrint to the more descriptive prettyCall

This commit is contained in:
Sebastian McKenzie
2015-01-08 00:36:40 +11:00
parent 0528560d81
commit f904734695
2 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ exports.CallExpression = function (node, print) {
var separator = ",";
if (node._prettyPrint) {
if (node._prettyCall) {
separator += "\n";
this.newline();
this.indent();
@@ -74,7 +74,7 @@ exports.CallExpression = function (node, print) {
separator: separator
});
if (node._prettyPrint) {
if (node._prettyCall) {
this.newline();
this.dedent();
}

View File

@@ -166,7 +166,7 @@ exports.XJSElement = {
}
if (callExpr.arguments.length >= 3) {
callExpr._prettyPrint = true;
callExpr._prettyCall = true;
}
return t.inherits(callExpr, node);