luci-base: luci.js: share environment object among LuCI base classes
authorJo-Philipp Wich <jo@mein.io>
Thu, 16 Apr 2020 08:46:45 +0000 (10:46 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 16 Apr 2020 08:49:05 +0000 (10:49 +0200)
commite385640505352efe8e470d5b723e8b467a0d6fb6
tree6abe253878f0e5ec3364f62ea4b8f74f2560961d
parent237db822bd5ac14b2af1f3874869c3c14b354631
luci-base: luci.js: share environment object among LuCI base classes

This allows us to get rid of global `L` references in luci.js itself.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/luci.js