diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-11-26 09:37:27 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-11-26 09:37:27 +0100 |
commit | 374c23cdab53c5681acafb561977d927c361408a (patch) | |
tree | c1c45db0eff9572df48c49aa28c8b4929b7399b4 /modules/luci-mod-network | |
parent | 666ad2df14ac61fafcc9fa630787f7049cc86e8e (diff) |
luci-base: luci.js: properly handle nested Class.super() calls
Introduce a unique __id__ attribute per class and use that, together with
the symbol name being looked up to, to form a unique key which is used to
store the prototype scope pointer.
This fixes cases where a call to super() invokes a procedure which is
calling super() as well on a different class or symbol.
Fixes: #3316
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network')
0 files changed, 0 insertions, 0 deletions