Skip to content
Commit 4a08fdd2 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: 374c23cd

 ("luci-base: luci.js: properly handle nested Class.super() calls")
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 374c23cd
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