mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
edit empty function for platform consistency
This commit is contained in:
@@ -40,7 +40,7 @@ class CallbacksRegistry {
|
||||
}
|
||||
|
||||
get (id) {
|
||||
return this.callbacks[id] != null ? this.callbacks[id] : () => {}
|
||||
return this.callbacks[id] != null ? this.callbacks[id] : function () {}
|
||||
}
|
||||
|
||||
apply (id, ...args) {
|
||||
|
||||
Reference in New Issue
Block a user