mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 04:26:35 +02:00
parent
9d7c801c2b
commit
f00c3b674e
8 changed files with 467 additions and 1 deletions
|
@ -325,7 +325,7 @@
|
|||
const getter = changedGetter.getterGenerator(checker);
|
||||
descriptor.get = exportFunction(getter, window);
|
||||
|
||||
if (changedGetter.setterGenerator){
|
||||
if (descriptor.hasOwnProperty("set") && changedGetter.setterGenerator){
|
||||
const setter = changedGetter.setterGenerator(window, descriptor.set);
|
||||
descriptor.set = exportFunction(setter, window);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue