(node, text)
| 14722 | * @internal |
| 14723 | */ |
| 14724 | var setTextContent = function (node, text) { |
| 14725 | if (text) { |
| 14726 | var firstChild = node.firstChild; |
| 14727 | |
| 14728 | if (firstChild && firstChild === node.lastChild && firstChild.nodeType === TEXT_NODE) { |
| 14729 | firstChild.nodeValue = text; |
| 14730 | return; |
| 14731 | } |
| 14732 | } |
| 14733 | node.textContent = text; |
| 14734 | }; |
| 14735 | |
| 14736 | /** |
| 14737 | * CSS properties which accept numbers but are not in units of "px". |
no outgoing calls
no test coverage detected