mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
merge
This commit is contained in:
commit
aa1a47a34e
108 changed files with 1590 additions and 1240 deletions
|
@ -143,9 +143,10 @@ function createWindow () {
|
|||
};
|
||||
|
||||
if (Api[cmd]) {
|
||||
Api[cmd].apply(Api, [ win ].concat(args || []));
|
||||
return Api[cmd].apply(Api, [ win ].concat(args || []));
|
||||
} else {
|
||||
console.error('[Api] method not defined:', cmd);
|
||||
return null;
|
||||
};
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue