lib/list.js
function (locals, cb) {
    if (typeof locals === 'function') {
      cb = locals;
      locals = {};
    }

    lazy.each(this.items, function (item, next) {
      this.app.render(item, locals, next);
    }.bind(this), cb);
  }
function (locals, cb) {
    if (typeof locals === 'function') {
      cb = locals;
      locals = {};
    }

    lazy.each(this.items, function (item, next) {
      this.app.render(item, locals, next);
    }.bind(this), cb);
  }
function ( locals , cb ) { if ( typeof locals === 'function' ) { cb = locals ; locals = { } ; } lazy . each ( this . items , function ( item , next ) { this . app . render ( item , locals , next ) ; } . bind ( this ) , cb ) ; }
Render all items in the list and return an array in the callback.

@param  {Object} `locals`
@param  {Function} `fn`
@return {Object}
@api public
Render all items in the list and return an array in the callback .