Sha256: 24398452ec629bc63a7fd5be2f0eefe1771b95d772cd5ff3f35173abdcfec7fa
Contents?: true
Size: 238 Bytes
Versions: 4
Compression:
Stored size: 238 Bytes
Contents
module.exports.register = function (handlebars) { handlebars.registerHelper('for', function(from, to, incr, block) { var accum = ''; for(var i = from; i < to; i += incr) accum += block.fn(i); return accum; }); };
Version data entries
4 entries across 4 versions & 1 rubygems