1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 04:26:35 +02:00

Always use exportFunctionWithName

This commit is contained in:
kkapsner 2019-12-13 17:34:14 +01:00
parent af1dfe755c
commit 6fb7622fec
4 changed files with 44 additions and 47 deletions

View file

@ -149,7 +149,7 @@
{
enumerable: true,
configurable: true,
get: exportFunction(function(){
get: extension.exportFunctionWithName(function(){
if (forceLoad){
logging.warning("force load the settings. Calling stack:", (new Error()).stack);
undoPreIntercept();
@ -175,8 +175,8 @@
});
return undef;
}
}, windowToProcess),
set: exportFunction(function(){}, windowToProcess)
}, windowToProcess, `get ${name}`),
set: extension.exportFunctionWithName(function(){}, windowToProcess, `set ${name}`)
}
);
});