Sha256: 55aa898697ab2e64c8d96b2266a6a3de197f53d0dc0da825f1eb7ca6ae2c7bdb
Contents?: true
Size: 198 Bytes
Versions: 15
Compression:
Stored size: 198 Bytes
Contents
Handlebars.registerHelper('times', function(n, block) { var accum = ''; n = parseInt(n) + 1; //so the loop started at 1 for(var i = 1; i < n; i++) accum += block.fn(i); return accum; });
Version data entries
15 entries across 15 versions & 1 rubygems