summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-coovachilli/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-11-05 11:11:46 +0100
committerJo-Philipp Wich <jo@mein.io>2018-11-05 11:11:46 +0100
commitf4c39dd6ff6f60dc48982d822faa6d9a85c2e4d7 (patch)
treef0cb6cfef71e59757d9782ef7d384b0f19080d27 /applications/luci-app-coovachilli/root
parent9b20f7ac521bff3848d501c1ecff49e6ccf1d61e (diff)
luci-base: cbi.js: add heuristics to attribute handling in E()
If a given attribute value is a function, register it as event listener, if it is an object, filter it through JSON.stringify(), else set it as-is. This helps to reduce some boiler-plate code when building DOM structures. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-coovachilli/root')
0 files changed, 0 insertions, 0 deletions