./make-document/make-document
module
Exports a function that when called, returns a dom-light document object.
makeDocument()
Creates a new simple document using [can-simple-dom]. Provides light-weight document needs, mostly for server-side rendering.
var makeDocument = require("can-vdom/make-document/make-document");
var document = makeDocument();
document.body //-> Node
Returns
{can-simple-dom/document/document}:
A can-simple-dom document.