Notifications wired up server sided

This commit is contained in:
Mark McDowall 2013-05-19 16:17:32 -07:00
commit e9bf78a97d
57 changed files with 977 additions and 951 deletions

View file

@ -7,6 +7,14 @@ Handlebars.registerHelper('partial', function (templateName) {
return new Handlebars.SafeString(templateFunction(this));
});
Handlebars.registerHelper('formField', function () {
if (!this.type) {
return Handlebars.helpers.partial.apply(this, ['Form/TextboxTemplate']);
}
return Handlebars.helpers.partial.apply(this, ['Form/TextboxTemplate']);
});
Handlebars.registerHelper("debug", function(optionalValue) {
console.log("Current Context");
console.log("====================");