function render(template, view, partials) {
    if (partials) {
      for (var name in partials) {
        compilePartial(name, partials[name]);
      }
    }

    return _renderer.render(template, view);
  }
High-level API for rendering the `template` using the given `view`. The
optional `partials` object may be given here for convenience, but note that
it will cause all partials to be re-compiled, thus hurting performance. Of
course, this only matters if you're going to render the same template more
than once. If so, it is best to call `compilePartial` before calling this
function and to leave the `partials` argument blank.