Add a m.Fragment = "[" utility for JSX users.
This commit is contained in:
parent
885b3f9442
commit
91e99ad287
1 changed files with 1 additions and 0 deletions
1
index.js
1
index.js
|
|
@ -8,6 +8,7 @@ var m = function m() { return hyperscript.apply(this, arguments) }
|
|||
m.m = hyperscript
|
||||
m.trust = hyperscript.trust
|
||||
m.fragment = hyperscript.fragment
|
||||
m.Fragment = "["
|
||||
m.mount = mountRedraw.mount
|
||||
m.route = require("./route")
|
||||
m.render = require("./render")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue