diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-11-21 18:44:59 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-22 12:49:14 +0100 |
commit | 706c6836e40046ca82efc3355fc018fd37654d88 (patch) | |
tree | 95fcf2aeb5ffd0cd9773e03e7007f1960fa82199 /themes/luci-theme-openwrt | |
parent | 17690f2d73b640cf4bbf082fe96f5b3075a040fe (diff) |
luci-base: introduce common JavaScript api
Introduce a new script file luci.js which is included by default and
intended to be the common location of functions currently scattered
in cbi.js and xhr.js.
The luci.js file provides a LuCI() class which - among other things -
implements helpers to construct URL paths and making HTTP requests.
A singleton instance of the class is instantiated as window.L upon
load and preset with the necessary environment information.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-openwrt')
0 files changed, 0 insertions, 0 deletions