* @private * @description * Utility to try to pull a checksum attribute from an element. * Uses 'data-checksum' or user specified checksum property. * * @param {Node} node - The node to get the checksum for. * @return {string|NaN}
(node)
| 246 | * @return {string|NaN} |
| 247 | */ |
| 248 | function getCheckSum (node) { |
| 249 | return node.getAttribute(setDOM.CHECKSUM) || NaN |
| 250 | } |
| 251 | |
| 252 | /** |
| 253 | * @private |
no test coverage detected