From ad6f856a8c21251c24869e47bdf8816ce91ba899 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Fri, 25 Oct 2019 16:47:48 +0800 Subject: [PATCH] Remove unreachable `return` after `throw` Just clearing out noise of lgtm alerts for projects I watch there if you could kindly merge: https://lgtm.com/projects/g/padolsey/findAndReplaceDOMText/?mode=list --- demo.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/demo.html b/demo.html index d29921b..76a42b3 100644 --- a/demo.html +++ b/demo.html @@ -80,7 +80,6 @@

This text is all randomly sized so you can have a go at matching "across ele warning.innerHTML = 'Error: ' + e; warning.style.display = 'inline'; throw e; - return; } if (!called) { warning.innerHTML = 'No matches :('; @@ -113,4 +112,4 @@

This text is all randomly sized so you can have a go at matching "across ele - \ No newline at end of file +