luci/modules/luci-base/htdocs
Jo-Philipp Wich 706c6836e4 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>
2018-11-22 12:49:14 +01:00
..
cgi-bin Rework LuCI build system 2015-01-08 16:26:20 +01:00
luci-static/resources luci-base: introduce common JavaScript api 2018-11-22 12:49:14 +01:00