Sha256: bcc1057a550d0865cd8fcebc0e7531b76226d25d42ebdfa8cabc11f2314c3787
Contents?: true
Size: 674 Bytes
Versions: 19
Compression:
Stored size: 674 Bytes
Contents
/*global document */ (function() { var source = document.getElementsByClassName('prettyprint source linenums'); var i = 0; var lineNumber = 0; var lineId; var lines; var totalLines; var anchorHash; if (source && source[0]) { anchorHash = document.location.hash.substring(1); lines = source[0].getElementsByTagName('li'); totalLines = lines.length; for (; i < totalLines; i++) { lineNumber++; lineId = 'line' + lineNumber; lines[i].id = lineId; if (lineId === anchorHash) { lines[i].className += ' selected'; } } } })();
Version data entries
19 entries across 16 versions & 4 rubygems