Skip to content
Commit 0d0ad80f authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-base: luci.js: add ability to add "preload" classes



Extend the LuCI bootstrap procedure to scan for class files in
/www/luci-static/preload/. Any JavaScript file found there will be
required automatically before setting up the view, allowing to stage
code that should run on every page load.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent fde144c9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment