mirror of
https://git.hmsn.ink/kospo/helptalk/api.git
synced 2026-03-20 15:23:59 +09:00
first
This commit is contained in:
12
sample/prod/talk/bundle/mithril-2.2.2/render/fragment.js
Normal file
12
sample/prod/talk/bundle/mithril-2.2.2/render/fragment.js
Normal file
@@ -0,0 +1,12 @@
|
||||
"use strict"
|
||||
|
||||
var Vnode = require("./vnode")
|
||||
var hyperscriptVnode = require("./hyperscriptVnode")
|
||||
|
||||
module.exports = function() {
|
||||
var vnode = hyperscriptVnode.apply(0, arguments)
|
||||
|
||||
vnode.tag = "["
|
||||
vnode.children = Vnode.normalizeChildren(vnode.children)
|
||||
return vnode
|
||||
}
|
||||
Reference in New Issue
Block a user