Sha256: f2615ef5afc5e5469766c1f237f8d8498dbb12afd48a50202c9701a001c97367
Contents?: true
Size: 411 Bytes
Versions: 375
Compression:
Stored size: 411 Bytes
Contents
var children = virtualNode.children; if (!children || !children.length) { return false; } var hasDt = false, hasDd = false, nodeName; for (var i = 0; i < children.length; i++) { nodeName = children[i].actualNode.nodeName.toUpperCase(); if (nodeName === 'DT') { hasDt = true; } if (hasDt && nodeName === 'DD') { return false; } if (nodeName === 'DD') { hasDd = true; } } return hasDt || hasDd;
Version data entries
375 entries across 375 versions & 1 rubygems