luci-base: luci.js: add dynamic class loader
authorJo-Philipp Wich <jo@mein.io>
Mon, 7 Jan 2019 13:48:19 +0000 (14:48 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 7 Jul 2019 13:25:49 +0000 (15:25 +0200)
commitec6d4094b988818faf6d5d06f6b26d3e1bcbcd6f
treec0aa947cddafe54c31a85bc0b2eaae9bda3f51a0
parent992638947d0489ea886d2b603855dff1e4310141
luci-base: luci.js: add dynamic class loader

Introduce L.require() to fetch additional JavaScript classes.

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