(tagName, vnode)
| 4381 | /* */ |
| 4382 | |
| 4383 | function createElement$1 (tagName, vnode) { |
| 4384 | var elm = document.createElement(tagName); |
| 4385 | if (tagName !== 'select') { |
| 4386 | return elm |
| 4387 | } |
| 4388 | // false or null will remove the attribute but undefined will not |
| 4389 | if (vnode.data && vnode.data.attrs && vnode.data.attrs.multiple !== undefined) { |
| 4390 | elm.setAttribute('multiple', 'multiple'); |
| 4391 | } |
| 4392 | return elm |
| 4393 | } |
| 4394 | |
| 4395 | function createElementNS (namespace, tagName) { |
| 4396 | return document.createElementNS(namespaceMap[namespace], tagName) |
nothing calls this directly
no test coverage detected