index.js
function (view, ctx, locals) {
    var obj = {};
    lazy.mixin(obj, ctx);
    lazy.mixin(obj, this.cache.data);
    lazy.mixin(obj, view.data);
    lazy.mixin(obj, view.locals);
    lazy.mixin(obj, locals);
    return obj;
  }
function (view, ctx, locals) {
    var obj = {};
    lazy.mixin(obj, ctx);
    lazy.mixin(obj, this.cache.data);
    lazy.mixin(obj, view.data);
    lazy.mixin(obj, view.locals);
    lazy.mixin(obj, locals);
    return obj;
  }
function ( view , ctx , locals ) { var obj = { } ; lazy . mixin ( obj , ctx ) ; lazy . mixin ( obj , this . cache . data ) ; lazy . mixin ( obj , view . data ) ; lazy . mixin ( obj , view . locals ) ; lazy . mixin ( obj , locals ) ; return obj ; }
Build the context for the given `view` and `locals`.
This can be overridden by passing a function to the
`mergeContext` option.

@name .context
@param  {Object} `view` Template object
@param  {Object} `locals`
@return {Object} The object to be passed to engines/views as context.
Build the context for the given view and locals . This can be overridden by passing a function to the mergeContext option .