branch: master commit 92063fe0cc2831ea5937854950c1c9b6dd444539 Author: Dmitry Gutov <dgu...@yandex.ru> Commit: Dmitry Gutov <dgu...@yandex.ru>
Fix js2-visit-tagged-template --- js2-mode.el | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js2-mode.el b/js2-mode.el index 824e5da..c3bb903 100644 --- a/js2-mode.el +++ b/js2-mode.el @@ -3525,8 +3525,8 @@ You can tell the quote type by looking at the first character." (put 'cl-struct-js2-tagged-template-node 'js2-printer 'js2-print-tagged-template) (defun js2-visit-tagged-template (n callback) - (js2-visit-ast (js2-tagged-template-node-tag n) kid callback) - (js2-visit-ast (js2-tagged-template-node-template n) kid callback)) + (js2-visit-ast (js2-tagged-template-node-tag n) callback) + (js2-visit-ast (js2-tagged-template-node-template n) callback)) (defun js2-print-tagged-template (n i) (insert (js2-make-pad i))