Error message displays tag name

This commit is contained in:
Avital Oliver
2013-10-01 11:15:10 -07:00
parent 82951a2038
commit 13d1cde4ca

View File

@@ -475,7 +475,7 @@ Spacebars.parse = function (inputString, options) {
}
if (! isTopLevel && ! block.closeTag)
error("Unclosed `" + block.openTag.name +
error("Unclosed `" + block.openTag.path.join('.') +
"` tag at top level");
return block;