Made the new mismatched blocks error message a little bit easier on the eyes.
This commit is contained in:
+1
-1
@@ -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 + ".");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user