mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 04:26:35 +02:00
Always use exportFunctionWithName
This commit is contained in:
parent
af1dfe755c
commit
6fb7622fec
4 changed files with 44 additions and 47 deletions
|
@ -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}`)
|
||||
}
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue