(tagName, vnode)
| 4371 | /* */ |
| 4372 | |
| 4373 | function createElement$1 (tagName, vnode) { |
| 4374 | var elm = document.createElement(tagName); |
| 4375 | if (tagName !== 'select') { |
| 4376 | return elm |
| 4377 | } |
| 4378 | // false or null will remove the attribute but undefined will not |
| 4379 | if (vnode.data && vnode.data.attrs && vnode.data.attrs.multiple !== undefined) { |
| 4380 | elm.setAttribute('multiple', 'multiple'); |
| 4381 | } |
| 4382 | return elm |
| 4383 | } |
| 4384 | |
| 4385 | function createElementNS (namespace, tagName) { |
| 4386 | return document.createElementNS(namespaceMap[namespace], tagName) |
nothing calls this directly
no test coverage detected