luci-base: harmonize JS class naming and requesting
authorJo-Philipp Wich <jo@mein.io>
Thu, 2 Apr 2020 19:40:50 +0000 (21:40 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 2 Apr 2020 19:51:20 +0000 (21:51 +0200)
commit711f75927849fade74f79e4b198b3a839d9d4fbc
treec10818bdadf9e70b856c0581c3f7c52b5e86a9ad
parent994e1f3890cd826cb85499928238772e4ab9563c
luci-base: harmonize JS class naming and requesting

 - Make builtin classes available via `require` to allow view code to
   request external and internal classes in a consistent manner without
   having to know which classes are builtin and which not

 - Make base classes request any used class explicitely instead of
   relying on implicitly set up L.{dom,view,Poll,Request,Class} aliases

 - Consistently convert class names to lower case in JSdoc to match
   the names used in `require` statements

 - Deprecate L.{dom,view,Poll,Request,Class} aliases

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js
modules/luci-base/htdocs/luci-static/resources/fs.js
modules/luci-base/htdocs/luci-static/resources/luci.js
modules/luci-base/htdocs/luci-static/resources/network.js
modules/luci-base/htdocs/luci-static/resources/rpc.js
modules/luci-base/htdocs/luci-static/resources/uci.js
modules/luci-base/htdocs/luci-static/resources/ui.js
modules/luci-base/htdocs/luci-static/resources/validation.js