mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-03 03:56:26 +02:00
Added support to fake getters.
This commit is contained in:
parent
103c69d4b8
commit
4c7b83aca6
2 changed files with 51 additions and 13 deletions
|
@ -474,15 +474,15 @@
|
|||
scope.changedFunctions[key].api = "canvas";
|
||||
});
|
||||
|
||||
scope.changedGetters = {};
|
||||
scope.changedGetters = [];
|
||||
|
||||
function appendModified(collection){
|
||||
Object.keys(collection.changedFunctions || {}).forEach(function(key){
|
||||
scope.changedFunctions[key] = collection.changedFunctions[key];
|
||||
});
|
||||
|
||||
Object.keys(collection.changedGetters || {}).forEach(function(key){
|
||||
scope.changedGetters[key] = collection.changedGetters[key];
|
||||
(collection.changedGetters || []).forEach(function(changedGetter){
|
||||
scope.changedGetters.push(changedGetter);
|
||||
});
|
||||
}
|
||||
appendModified(modifiedAudioAPI);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue