(node, text)
| 14884 | * @internal |
| 14885 | */ |
| 14886 | var setTextContent = function (node, text) { |
| 14887 | if (text) { |
| 14888 | var firstChild = node.firstChild; |
| 14889 | |
| 14890 | if (firstChild && firstChild === node.lastChild && firstChild.nodeType === TEXT_NODE) { |
| 14891 | firstChild.nodeValue = text; |
| 14892 | return; |
| 14893 | } |
| 14894 | } |
| 14895 | node.textContent = text; |
| 14896 | }; |
| 14897 | |
| 14898 | /** |
| 14899 | * CSS properties which accept numbers but are not in units of "px". |
no outgoing calls
no test coverage detected