luci2: implement Class.require() and Class.instantiate()
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 5 Jan 2015 18:16:18 +0000 (19:16 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 5 Jan 2015 18:16:18 +0000 (19:16 +0100)
commit863e738b445e2e53f8d84dd12535781b2d6fc081
tree2b373bca2d7bddbba20af03f74aed91addf3a5a1
parent09c7591f609cd31c4a1edc5fe45b78338e19d2e9
luci2: implement Class.require() and Class.instantiate()

The two functions allow dynamic loading of additional components.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
luci2/htdocs/luci2/luci2.js