use _push instead of push on template literals end

This commit is contained in:
Sebastian McKenzie 2014-11-04 18:32:51 +11:00
parent 95ace3220d
commit cfbaae456b

View File

@ -10,7 +10,7 @@ exports.TemplateElement = function (node) {
}; };
exports.TemplateLiteral = function (node, print) { exports.TemplateLiteral = function (node, print) {
this.push("`"); this._push("`");
var quasis = node.quasis; var quasis = node.quasis;
var self = this; var self = this;
@ -26,5 +26,5 @@ exports.TemplateLiteral = function (node, print) {
} }
}); });
this.push("`"); this._push("`");
}; };