lib/gcli/ui/view.js
function(document) {
      if (options.css) {
        util.importCss(options.css, document, options.cssId);
      }

      var child = host.toDom(document, options.html);
      domtemplate.template(child, options.data || {}, options.options || {});
      return child;
    }
function(document) {
      if (options.css) {
        util.importCss(options.css, document, options.cssId);
      }

      var child = host.toDom(document, options.html);
      domtemplate.template(child, options.data || {}, options.options || {});
      return child;
    }
function ( document ) { if ( options . css ) { util . importCss ( options . css , document , options . cssId ) ; } var child = host . toDom ( document , options . html ) ; domtemplate . template ( child , options . data || { } , options . options || { } ) ; return child ; }
Actually convert the view data into a DOM suitable to be appended to
an element
@param document to use in realizing the template
Actually convert the view data into a DOM suitable to be appended to an element