cleaned up template helpers

This commit is contained in:
kay.one 2013-06-24 21:43:16 -07:00
commit 8841e43c25
17 changed files with 78 additions and 88 deletions

View file

@ -0,0 +1,10 @@
'use strict';
define(
[
'handlebars'
], function (Handlebars) {
Handlebars.registerHelper('defaultImg', function () {
return new Handlebars.SafeString('onerror="this.src="/content/images/poster-dark.jpg";"');
});
});