refactor: Vnode.normalizeChildren to anonymous function (#2208)
This commit is contained in:
parent
761de0908b
commit
a73c157dff
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ Vnode.normalize = function(node) {
|
|||
if (node != null && typeof node !== "object") return Vnode("#", undefined, undefined, node === false ? "" : node, undefined, undefined)
|
||||
return node
|
||||
}
|
||||
Vnode.normalizeChildren = function normalizeChildren(input) {
|
||||
Vnode.normalizeChildren = function(input) {
|
||||
var children = []
|
||||
for (var i = 0; i < input.length; i++) {
|
||||
children[i] = Vnode.normalize(input[i])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue