Mercurial > hg
diff mercurial/templates/static/followlines.js @ 35020: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 | 32331f54930c |
children | 9f44d44626a0 |
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();