code: function (source, view, layout, partials, callback) {
              var html = [];
  
              // function buffer(line) {
              //     html.push(line);
              // }
  
              // Allow callback as third or fourth param.
              if (typeof partials === 'function') {
                  callback = partials;
                  partials = {};
              } else if (typeof layout === 'function') {
                  callback = layout;
                  layout = null;
              }
              var parts = Y.merge(partials || {}, {
                  layout_content: source
              });
              Y.each(parts, function (source, name) {
                  Y.Handlebars.registerPartial(name, source);
              });
  
              if (!TEMPLATE || !this.cacheTemplates) {
                  TEMPLATE = Y.Handlebars.compile(layout);
              }
  
  
              var _v = {};
              for (var k in view) {
                  if (Y.Lang.isFunction(view[k])) {
                      _v[k] = view[k]();
                  } else {
                      _v[k] = view[k];
                  }
              }
              html = TEMPLATE(_v);
              //html = html.replace(/{{&#x2F;/g, '{{/');
  
  
              //html = (Y.Handlebars.compile(html))({});
  
              html = this._inlineCode(html);
              callback(null, html);
          }
docs: Ported from [Selleck](https://github.com/rgrove/selleck)
  Renders the handlebars templates with the default View class.
  @method render
  @param {HTML} source The default template to parse
  @param {Class} view The default view handler
  @param {HTML} [layout=null] The HTML from the layout to use.
  @param {Object} [partials=object] List of partials to include in this template
  @param {Callback} callback
  @param {Error} callback.err
  @param {HTML} callback.html The assembled template markup