luci-base: luci.js: add L.dom.data()
authorJo-Philipp Wich <jo@mein.io>
Thu, 7 Feb 2019 17:19:58 +0000 (18:19 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 7 Jul 2019 13:25:49 +0000 (15:25 +0200)
commite4c29c6db4da21e5d6abb7b89969ebbbae74566c
tree42443dc4987aff985440dc0b4b42c31d0543678e
parent4a9f784a2a075ecb96a7e45d6a60160038f968a9
luci-base: luci.js: add L.dom.data()

Add a new data() function which allows to attach arbitrary JS data
to DOM elements.

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