mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 18:11:40 -05:00
So close!
This commit is contained in:
parent
597d8e7aa9
commit
91066818a4
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ Handlebars.registerHelper('each_with_index', function(items, options) {
|
|||
items.forEach(function(item, i){
|
||||
var key = 'Branch-' + i;
|
||||
out = out + Spark.labelBranch(key,function(){
|
||||
options.fn(_.extend(item, {rank: i}));
|
||||
return options.fn(_.extend(item, {rank: i}));
|
||||
});
|
||||
});
|
||||
console.log('each_with_index:')
|
||||
|
|
Loading…
Add table
Reference in a new issue