mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Remove unused CallbacksRegistry.call method
This commit is contained in:
@@ -44,10 +44,6 @@ class CallbacksRegistry {
|
||||
return (ref = this.callbacks[id]) != null ? ref : function () {}
|
||||
}
|
||||
|
||||
call (id, ...args) {
|
||||
return this.get(id).call(global, ...args)
|
||||
}
|
||||
|
||||
apply (id, ...args) {
|
||||
return this.get(id).apply(global, ...args)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user