(
domElement,
propKey,
attributeName,
value,
extraAttributes,
serverDifferences
)
| 36849 | } |
| 36850 | } |
| 36851 | function hydrateAttribute( |
| 36852 | domElement, |
| 36853 | propKey, |
| 36854 | attributeName, |
| 36855 | value, |
| 36856 | extraAttributes, |
| 36857 | serverDifferences |
| 36858 | ) { |
| 36859 | extraAttributes.delete(attributeName); |
| 36860 | domElement = domElement.getAttribute(attributeName); |
| 36861 | if (null === domElement) |
| 36862 | switch (typeof value) { |
| 36863 | case "undefined": |
| 36864 | case "function": |
| 36865 | case "symbol": |
| 36866 | case "boolean": |
| 36867 | return; |
| 36868 | } |
| 36869 | else if (null != value) |
| 36870 | switch (typeof value) { |
| 36871 | case "function": |
| 36872 | case "symbol": |
| 36873 | case "boolean": |
| 36874 | break; |
| 36875 | default: |
| 36876 | if ( |
| 36877 | (checkAttributeStringCoercion(value, propKey), |
| 36878 | domElement === "" + value) |
| 36879 | ) |
| 36880 | return; |
| 36881 | } |
| 36882 | warnForPropDifference(propKey, domElement, value, serverDifferences); |
| 36883 | } |
| 36884 | function hydrateBooleanAttribute( |
| 36885 | domElement, |
| 36886 | propKey, |
no test coverage detected
searching dependent graphs…