luci-base: luci.js: append version when dynamically loading classes
authorJo-Philipp Wich <jo@mein.io>
Sat, 14 Sep 2019 15:44:32 +0000 (17:44 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 14 Sep 2019 15:44:32 +0000 (17:44 +0200)
commit2e206861aec48b2ed6fc475e51d755594dd5d9f3
tree0b73fc687535d44ce5447d0878e0f76edfb16b1f
parent208bf47a33d5b6f1febd51785958ffefe25afc64
luci-base: luci.js: append version when dynamically loading classes

This allows for some naive cache busting when the LuCI version changes,
to avoid loading outdated classes from cache.

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