(node)
| 10721 | } |
| 10722 | |
| 10723 | function internalGetID(node) { |
| 10724 | // If node is something like a window, document, or text node, none of |
| 10725 | // which support attributes or a .getAttribute method, gracefully return |
| 10726 | // the empty string, as if the attribute were missing. |
| 10727 | return node && node.getAttribute && node.getAttribute(ATTR_NAME) || ''; |
| 10728 | } |
| 10729 | |
| 10730 | /** |
| 10731 | * Sets the React-specific ID of the given node. |
no outgoing calls
no test coverage detected