luci-base: luci.js: properly skip comments when finding require tokens
authorJo-Philipp Wich <jo@mein.io>
Fri, 29 May 2020 07:56:06 +0000 (09:56 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 29 May 2020 08:42:24 +0000 (10:42 +0200)
commitdd9624d35aecab54b8e477d074c5299ba5020418
tree57815c98d8afdb748ed413fca5dce8e74434906d
parent39d5f2e5a637125e8f12c896b1827ac94141b60c
luci-base: luci.js: properly skip comments when finding require tokens

Fixes: #4020, #4022, #4111
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 6be8f8dbaee90a8a7e8bc87350f21793b9aed35c)
modules/luci-base/htdocs/luci-static/resources/luci.js