(node, text)
| 14849 | * @internal |
| 14850 | */ |
| 14851 | var setTextContent = function (node, text) { |
| 14852 | if (text) { |
| 14853 | var firstChild = node.firstChild; |
| 14854 | |
| 14855 | if (firstChild && firstChild === node.lastChild && firstChild.nodeType === TEXT_NODE) { |
| 14856 | firstChild.nodeValue = text; |
| 14857 | return; |
| 14858 | } |
| 14859 | } |
| 14860 | node.textContent = text; |
| 14861 | }; |
| 14862 | |
| 14863 | /** |
| 14864 | * CSS properties which accept numbers but are not in units of "px". |
no outgoing calls
no test coverage detected