A few more lingering bugs:
* add helperMissing.not to the specs * add Handlebars.Utils.isEmpty * add runtime handling for inverse sections * fix __get__ to pass an IdNode to evaluate * handle case in wrapProgram where context is undefined
This commit is contained in:
@@ -15,6 +15,10 @@ var helperMissing = function(context, fn) {
|
||||
} else {
|
||||
return fn(context);
|
||||
}
|
||||
};
|
||||
|
||||
helperMissing.not = function(context, fn) {
|
||||
return fn(context);
|
||||
}
|
||||
|
||||
var shouldCompileTo = function(string, hash, expected, message) {
|
||||
|
||||
Reference in New Issue
Block a user