luci-base: luci.js: split ui helper functions into external ui.js
authorJo-Philipp Wich <jo@mein.io>
Mon, 7 Jan 2019 14:26:08 +0000 (15:26 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 7 Jul 2019 13:25:49 +0000 (15:25 +0200)
commit344c4c511936062ec4521d42d1c1ba51577daee0
tree9b7d2504765e4864f0313875e87b679e24c29a1c
parentec6d4094b988818faf6d5d06f6b26d3e1bcbcd6f
luci-base: luci.js: split ui helper functions into external ui.js

Use the new class loader infrastructure to move gui specific
functionality out of the luci.js core and dispatch a new event
'luci-loaded' which is fired once all external classes have
been fetched.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/luci.js
modules/luci-base/htdocs/luci-static/resources/ui.js [new file with mode: 0644]