luci-base: luci.js: further nested Class.super() call fixes
authorJo-Philipp Wich <jo@mein.io>
Tue, 26 Nov 2019 10:35:23 +0000 (11:35 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 26 Nov 2019 10:39:14 +0000 (11:39 +0100)
commit4a08fdd2d374083366787c4124e6b4de48bf7b77
treeca30681b8ce6c3c6193c9d4ee573b8f8110b0e96
parent374c23cdab53c5681acafb561977d927c361408a
luci-base: luci.js: further nested Class.super() call fixes

Use stacks keyed by class id + symbol internally to not clobber the
prototype scope pointer when repeatedly calling super() in invoked
methods.

Ref: https://github.com/openwrt/luci/issues/3316#issuecomment-558531111
Fixes: 374c23cda ("luci-base: luci.js: properly handle nested Class.super() calls")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/luci.js