luci-base: luci.js: convert LuCI to Class instance
authorJo-Philipp Wich <jo@mein.io>
Mon, 7 Jan 2019 13:25:20 +0000 (14:25 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 7 Jul 2019 13:25:49 +0000 (15:25 +0200)
commit992638947d0489ea886d2b603855dff1e4310141
tree5adb92d4236b45de253092078cffb8d73ea7dea0
parent843031f8197aa2c86585360c0f6d8a3b1ee02dee
luci-base: luci.js: convert LuCI to Class instance

Also hijack cbi_init() and call it after the LuCI DOM setup.

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