UNPKG

slush-gladius

Version:

Slush generator for bleeding edge weapo... ehr, applications!

32 lines (24 loc) 563 B
/* global Handlebars */ /* global R */ (function() { // Insert new helpers here var helpersDict = { 'taggedAnchor': function(url, text) { return '<a href="' + url + '">' + text + '</a>'; }, // client side only 'include': function(partialName) { return R.templates[partialName](this); } }; // Do not touch try { module.exports = helpersDict; } catch(e) { for (var k in helpersDict) { if (helpersDict.hasOwnProperty(k)) { Handlebars.registerHelper(k, helpersDict[k]); } } } })();