Skip to content

Instantly share code, notes, and snippets.

@jnbdz
Last active December 10, 2015 16:58
Show Gist options
  • Save jnbdz/4464264 to your computer and use it in GitHub Desktop.
Save jnbdz/4464264 to your computer and use it in GitHub Desktop.
Small script to test webworker postMessage.
self.addEventListener('message', function(e) {
self.postMessage(e.data);
}, false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment