(node, text)
| 14082 | * @internal |
| 14083 | */ |
| 14084 | var setTextContent = function (node, text) { |
| 14085 | if (text) { |
| 14086 | var firstChild = node.firstChild; |
| 14087 | |
| 14088 | if (firstChild && firstChild === node.lastChild && firstChild.nodeType === TEXT_NODE) { |
| 14089 | firstChild.nodeValue = text; |
| 14090 | return; |
| 14091 | } |
| 14092 | } |
| 14093 | node.textContent = text; |
| 14094 | }; |
| 14095 | |
| 14096 | /** |
| 14097 | * CSS properties which accept numbers but are not in units of "px". |
no outgoing calls
no test coverage detected