Mercurial > hg-stable
changeset 35059:75013952d8d9
hgweb: add missing semicolons to followlines.js
Minor stylistic issues caught by jshint.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 10 Nov 2017 19:14:06 +0800 |
parents | b445fc69b86c |
children | da5d5ea7d696 |
files | mercurial/templates/static/followlines.js |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templates/static/followlines.js Fri Nov 10 18:50:44 2017 +0800 +++ b/mercurial/templates/static/followlines.js Fri Nov 10 19:14:06 2017 +0800 @@ -38,7 +38,7 @@ // element var selectableElements = Array.prototype.filter.call( sourcelines.children, - function(x) { return x.tagName === selectableTag }); + function(x) { return x.tagName === selectableTag; }); var btnTitleStart = 'start following lines history from here'; var btnTitleEnd = 'terminate line block selection here'; @@ -62,7 +62,7 @@ } // extend DOM with CSS class for selection highlight and action buttons - var followlinesButtons = [] + var followlinesButtons = []; for (var i = 0; i < selectableElements.length; i++) { selectableElements[i].classList.add('followlines-select'); var btn = createButton();