From a21be1b261abb6c46653a0f58c4958dddf892625 Mon Sep 17 00:00:00 2001 From: Mitar Date: Mon, 28 Dec 2015 15:40:43 +0100 Subject: [PATCH] Correct argument. --- packages/htmljs/visitors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/htmljs/visitors.js b/packages/htmljs/visitors.js index 7c1163f31d2..15160e759a0 100644 --- a/packages/htmljs/visitors.js +++ b/packages/htmljs/visitors.js @@ -83,7 +83,7 @@ HTML.Visitor.def({ throw new Error("Unexpected object in htmljs: " + obj); }, visitFunction: function (fn/*, ...*/) { - throw new Error("Unexpected function in htmljs: " + obj); + throw new Error("Unexpected function in htmljs: " + fn); } });