From cfbaae456b5bff0ddcc1b61c5d0fb9c79a508b04 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Tue, 4 Nov 2014 18:32:51 +1100 Subject: [PATCH] use _push instead of push on template literals end --- lib/6to5/generators/template-literals.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/6to5/generators/template-literals.js b/lib/6to5/generators/template-literals.js index 3621515fa8..2f42ae0baa 100644 --- a/lib/6to5/generators/template-literals.js +++ b/lib/6to5/generators/template-literals.js @@ -10,7 +10,7 @@ exports.TemplateElement = function (node) { }; exports.TemplateLiteral = function (node, print) { - this.push("`"); + this._push("`"); var quasis = node.quasis; var self = this; @@ -26,5 +26,5 @@ exports.TemplateLiteral = function (node, print) { } }); - this.push("`"); + this._push("`"); };