ipc: fix incorrect function name
This commit is contained in:
parent
641b37895d
commit
d174fd279f
@ -125,9 +125,11 @@ delete window._gluonSend;
|
|||||||
sendToWindow('pong', null, id); // send simple pong to confirm
|
sendToWindow('pong', null, id); // send simple pong to confirm
|
||||||
};
|
};
|
||||||
|
|
||||||
return [ onWindowMessage, () => evaluate({
|
return [
|
||||||
expression: injection
|
onWindowMessage,
|
||||||
}), {
|
() => evalInWindow(injection),
|
||||||
|
|
||||||
|
{
|
||||||
on: (type, cb) => {
|
on: (type, cb) => {
|
||||||
if (!ipcListeners[type]) ipcListeners[type] = [];
|
if (!ipcListeners[type]) ipcListeners[type] = [];
|
||||||
ipcListeners[type].push(cb);
|
ipcListeners[type].push(cb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user