code: function renderView(view, layout, partials, context) {
      let options = {
        partials: partials
      };
  
      // Handle dynamically-defined content tag
      let renderedView = {};
      renderedView[opts.contentTag] = view(context, options);
  
      return layout(Object.assign({}, context, renderedView), options);
    }
docs: Renders the specified view using the specified layout, partials, and
  context into a string.
  
  Although another Handlebars environment may be provided to the underlying
  renderer middleware, and partials manually registered with that environment
  will be used when rendering templates, all partials loaded by this module
  are handled manually by this module. There is no significant performance or
  usability advantage to using the #registerPartial method included in the
  Handlebars API to register partials instead; please see the Handlebars.js
  source code for further details.
  @param  {Function}          view     The view to render
  @param  {Function}          layout   The layout to render the view onto
  @param  {Object.<Function>} partials An object map of partials
  @param  {Object}            context  Data to be rendered into the view
  @return {String}
  @private
  @see {@link https://github.com/wycats/handlebars.js/blob/master/lib/handlebars/base.js#L49}