summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-11-21 18:44:59 +0100
committerJo-Philipp Wich <jo@mein.io>2018-11-22 12:49:14 +0100
commit706c6836e40046ca82efc3355fc018fd37654d88 (patch)
tree95fcf2aeb5ffd0cd9773e03e7007f1960fa82199 /README.md
parent17690f2d73b640cf4bbf082fe96f5b3075a040fe (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 'README.md')
0 files changed, 0 insertions, 0 deletions