electron/spec/fixtures/workers/shared_worker.js
cesine 2aff0c47d0 ⬆️ 👕 updated to eslint 2.1.0
Verified migration doc (nothing to be done)
http://eslint.org/docs/user-guide/migrating-to-2.0.0

And made sure the eslint tasks passed
2016-02-15 22:30:29 -05:00

7 lines
159 B
JavaScript

this.onconnect = function(event) {
var port = event.ports[0];
port.start();
port.onmessage = function(event) {
port.postMessage(event.data);
};
};