(object, propName, value)
| 2 | import { console, camelize } from "./util/helper"; |
| 3 | |
| 4 | function buildAttribute(object, propName, value) { |
| 5 | if (value == undefined) { |
| 6 | return object; |
| 7 | } |
| 8 | object = object == null ? {} : object; |
| 9 | object[propName] = value; |
| 10 | return object; |
| 11 | } |
| 12 | |
| 13 | function removeNode(node) { |
| 14 | if (node.parentElement !== null) { |