Mercurial > hg
diff hgext/bugzilla.py @ 35161:1207a50a6dc3
hgweb: look up "URLSearchParams" in "window" to work around jshint issues
Unfortunately, current version of jshint (2.9.5) doesn't know such a global
variable and complains that it's undefined. Since this line tries to look up
URLSearchParams in a global scope (i.e. window), let's simply preface it with
"window." to work around jshint.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 22 Nov 2017 22:11:37 +0800 |
parents | b45a9d121b53 |
children | c8e2d6ed1f9e |