diff options
Diffstat (limited to 'web/js/labitrack.d/31-handlebars-helpers.js')
-rw-r--r-- | web/js/labitrack.d/31-handlebars-helpers.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/js/labitrack.d/31-handlebars-helpers.js b/web/js/labitrack.d/31-handlebars-helpers.js index 6fa462a..6bd222f 100644 --- a/web/js/labitrack.d/31-handlebars-helpers.js +++ b/web/js/labitrack.d/31-handlebars-helpers.js @@ -5,6 +5,9 @@ Handlebars.registerHelper('pagination', function(){ return new Handlebars.SafeString(λ.template('pagination', this)); }); + Handlebars.registerHelper('objecttable', function(){ + return new Handlebars.SafeString(λ.template('objecttable', this)); + }); Handlebars.registerHelper('dump_ctx', function(){ console.log({'ctx': this}); }); |