luci-base: convert JavaScript code to ES6 style
authorPaul Donald <newtwen+github@gmail.com>
Sat, 7 Dec 2024 03:30:06 +0000 (04:30 +0100)
committerPaul Donald <newtwen+github@gmail.com>
Thu, 19 Dec 2024 23:42:20 +0000 (23:42 +0000)
commitc2fc96cc4c6b35f19638f8c54599041ce6e39da4
treeda57ed2aabd7bbac5d1dc18fee8a59b45282da45
parent1750968879c8805355d1c3517ea492791c07c457
luci-base: convert JavaScript code to ES6 style

Convert existing JavaScript code in LuCI base to utilize ES6 standard
features such as spread arguments, arrow functions, object method
declarations etc.

This makes the code somewhat easier to follow and slightly smaller.

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