luci/modules/luci-base
Jo-Philipp Wich 674b090d34 luci-base: xhr.js: use JSON.parse() and pass request duration to callbacks
JSON.parse() is supported on all modern browsers and a far better
solution than the hakish and potentially dangerous eval().

Also calculate the duration of request and pass it as 3rd argument to the
callback function, this makes it easier to calculate request delays or
poll intervals in code using XHR.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:10:10 +02:00
..
htdocs luci-base: xhr.js: use JSON.parse() and pass request duration to callbacks 2018-07-12 18:10:10 +02:00
luasrc luci-base: fix placement of CBI strings 2018-07-09 17:04:10 +02:00
po luci-base: update Polish translation 2018-07-07 14:48:51 +02:00
root Merge pull request #1769 from jow-/master 2018-05-18 16:44:33 +02:00
src Revert "luci-base: add urldecode() and urlencode() C implementations" 2018-04-18 16:21:27 +02:00
Makefile luci-base: update luasrcdiet 2018-06-27 16:41:02 +02:00