Source code

Revision control

Copy as Markdown

Other Tools

var port;
onconnect = function(e) {
if (!port)
port = e.ports[0];
port.postMessage(1);
}