blob: 209d8d78b06438984e6e1971afda8c54714afa69 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import _ from 'underscore';
module.exports = function (context, options) {
var ret = '';
context.forEach(function (d, i) {
var c = _.extend({ index: i }, d);
ret += options.fn(c);
});
return ret;
};
|