Made the new mismatched blocks error message a little bit easier on the eyes.

This commit is contained in:
Alan Johnson
2010-09-18 13:33:57 -04:00
parent 2291a038d8
commit 40e03aafee
+1 -1
View File
@@ -354,7 +354,7 @@ Handlebars.Compiler.prototype = {
compiler.getChar(mustache.length + 5);
return true;
} else {
throw new Handlebars.Exception("Mismatched block close.");
throw new Handlebars.Exception("Mismatched block close: expected " + mustache + ".");
}
}
});