(node, text)
| 14210 | * @internal |
| 14211 | */ |
| 14212 | var setTextContent = function (node, text) { |
| 14213 | if (text) { |
| 14214 | var firstChild = node.firstChild; |
| 14215 | |
| 14216 | if (firstChild && firstChild === node.lastChild && firstChild.nodeType === TEXT_NODE) { |
| 14217 | firstChild.nodeValue = text; |
| 14218 | return; |
| 14219 | } |
| 14220 | } |
| 14221 | node.textContent = text; |
| 14222 | }; |
| 14223 | |
| 14224 | /** |
| 14225 | * CSS properties which accept numbers but are not in units of "px". |
no outgoing calls
no test coverage detected