From e8767534f46391b203ee92bf793edc107e4452ab Mon Sep 17 00:00:00 2001 From: Keita Furui Date: Fri, 10 Feb 2023 17:43:50 +0900 Subject: [PATCH] Remove code when vnode.attrs is null Because vnode.attrs is never null by commit f9e5163 --- render/render.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/render/render.js b/render/render.js index 530313809..2b521da65 100644 --- a/render/render.js +++ b/render/render.js @@ -451,9 +451,6 @@ module.exports = function($window) { var element = vnode.dom = old.dom ns = getNameSpace(vnode) || ns - if (vnode.tag === "textarea") { - if (vnode.attrs == null) vnode.attrs = {} - } updateAttrs(vnode, old.attrs, vnode.attrs, ns) if (!maybeSetContentEditable(vnode)) { updateNodes(element, old.children, vnode.children, hooks, null, ns)