m.fragment docs

public api tests
This commit is contained in:
Leo Horie 2016-08-24 00:26:15 -04:00
parent 53a83a58f2
commit ec07d76fcd
9 changed files with 291 additions and 18 deletions

View file

@ -65,4 +65,7 @@ function hyperscript(selector) {
return Vnode(selector, attrs && attrs.key, attrs || {}, Vnode.normalizeChildren(children), undefined, undefined)
}
hyperscript.trust = require("./trust")
hyperscript.fragment = require("./fragment")
module.exports = hyperscript