(node, text)
| 14942 | * @internal |
| 14943 | */ |
| 14944 | var setTextContent = function (node, text) { |
| 14945 | if (text) { |
| 14946 | var firstChild = node.firstChild; |
| 14947 | |
| 14948 | if (firstChild && firstChild === node.lastChild && firstChild.nodeType === TEXT_NODE) { |
| 14949 | firstChild.nodeValue = text; |
| 14950 | return; |
| 14951 | } |
| 14952 | } |
| 14953 | node.textContent = text; |
| 14954 | }; |
| 14955 | |
| 14956 | /** |
| 14957 | * CSS properties which accept numbers but are not in units of "px". |
no outgoing calls
no test coverage detected