luci-base: luci.js: add HTTP request functions
authorJo-Philipp Wich <jo@mein.io>
Sun, 6 Jan 2019 16:08:37 +0000 (17:08 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 7 Jul 2019 13:25:49 +0000 (15:25 +0200)
commit843031f8197aa2c86585360c0f6d8a3b1ee02dee
tree935aeb6098b3cd7f94b61426a8b98a0869de1366
parentfee8c1fc9c9b1334ada08e94d4b75c9d418c098b
luci-base: luci.js: add HTTP request functions

Add a fetch() inspired HTTP request utility class to luci.js and
replace the old xhr.js class with a stub using the new request api.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/luci.js
modules/luci-base/htdocs/luci-static/resources/xhr.js