Sha256: 1266f2ffbe69681dd622adc03dc5559d69c5ff95a74b4c812c4dbd50b52a337b
Contents?: true
Size: 344 Bytes
Versions: 114
Compression:
Stored size: 344 Bytes
Contents
// Check for 'default' names, which are given to reset and submit buttons let nodeName = node.nodeName.toUpperCase(); let type = (node.getAttribute('type') || '').toLowerCase(); let label = node.getAttribute('value'); this.data(label); if (nodeName === 'INPUT' && ['submit', 'reset'].includes(type)) { return label === null; } return false;
Version data entries
114 entries across 114 versions & 1 rubygems