blaze.js
function (content) {
  checkRenderContent(content);

  if (content instanceof Blaze.Template) {
    return content.constructView();
  } else if (content instanceof Blaze.View) {
    return content;
  } else {
    var func = content;
    if (typeof func !== 'function') {
      func = function () {
        return content;
      };
    }
    return Blaze.View('render', func);
  }
}
function (content) {
  checkRenderContent(content);

  if (content instanceof Blaze.Template) {
    return content.constructView();
  } else if (content instanceof Blaze.View) {
    return content;
  } else {
    var func = content;
    if (typeof func !== 'function') {
      func = function () {
        return content;
      };
    }
    return Blaze.View('render', func);
  }
}
function ( content ) { checkRenderContent ( content ) ; if ( content instanceof Blaze . Template ) { return content . constructView ( ) ; } else if ( content instanceof Blaze . View ) { return content ; } else { var func = content ; if ( typeof func !== 'function' ) { func = function ( ) { return content ; } ; } return Blaze . View ( 'render' , func ) ; } }
For Blaze.render and Blaze.toHTML, take content and wrap it in a View, unless it's a single View or Template already.
For Blaze . render and Blaze . toHTML take content and wrap it in a View unless it s a single View or Template already .