(node, text)
| 15100 | * @internal |
| 15101 | */ |
| 15102 | var setTextContent = function (node, text) { |
| 15103 | if (text) { |
| 15104 | var firstChild = node.firstChild; |
| 15105 | |
| 15106 | if (firstChild && firstChild === node.lastChild && firstChild.nodeType === TEXT_NODE) { |
| 15107 | firstChild.nodeValue = text; |
| 15108 | return; |
| 15109 | } |
| 15110 | } |
| 15111 | node.textContent = text; |
| 15112 | }; |
| 15113 | |
| 15114 | /** |
| 15115 | * CSS properties which accept numbers but are not in units of "px". |
no outgoing calls
no test coverage detected