Skip to content
Commit 7c16decd authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-base: move DOM manipulation functions to luci.js



Introduce a new luci.dom class which groups the DOM manipulation helpers
such as E(), findParent(), matchesElem() etc.

Provide wrappers for the old functions to ease the transition to the new
functions.

Also add a new widget helper function L.itemlist() which consolidates
the item enumeration formatting code found on various pages.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 14487071
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