refactor: Vnode.normalizeChildren to anonymous function (#2208)

This commit is contained in:
makibishi 2018-10-29 07:02:32 +09:00 committed by Isiah Meadows
parent 761de0908b
commit a73c157dff

View file

@ -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])