Allow undefined and null in helper names

This commit is contained in:
kpdecker
2015-04-13 21:18:53 -05:00
parent 37a664bf64
commit dfd141cd35
4 changed files with 21 additions and 3 deletions
+14
View File
@@ -74,6 +74,20 @@ describe("basic context", function() {
}
},
'true true object');
shouldCompileTo('{{undefined}}',
{
undefined: function() {
return 'undefined!';
}
},
'undefined!');
shouldCompileTo('{{null}}',
{
null: function() {
return 'null!';
}
},
'null!');
});
it("newlines", function() {