From 4d7d17a98ae96cc2de7c398fa730512705741905 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 29 Jul 2017 04:39:18 +0400 Subject: Release of version 2.0.0. --- docs/scripts/linenumber.js | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 docs/scripts/linenumber.js (limited to 'docs/scripts/linenumber.js') diff --git a/docs/scripts/linenumber.js b/docs/scripts/linenumber.js deleted file mode 100644 index 8d52f7e..0000000 --- a/docs/scripts/linenumber.js +++ /dev/null @@ -1,25 +0,0 @@ -/*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'; - } - } - } -})(); -- cgit v1.2.3