Revision 4c6a2323
Added by koszko over 1 year ago
| common/message_server.js | ||
|---|---|---|
| 97 | 97 |
return browser.runtime.connect({name: magic});
|
| 98 | 98 |
|
| 99 | 99 |
if (!(magic in listeners)) |
| 100 |
throw `no listener for '${magic}'`
|
|
| 100 |
throw `no listener for '${magic}'`;
|
|
| 101 | 101 |
|
| 102 | 102 |
const ports = [new Port(magic), new Port(magic)]; |
| 103 | 103 |
ports[0].other = ports[1]; |
Also available in: Unified diff
make Haketilo buildable again (for Mozilla)
How cool it is to throw away 5755 lines of code...