Last active
December 10, 2015 16:58
-
-
Save jnbdz/4464264 to your computer and use it in GitHub Desktop.
Small script to test webworker postMessage.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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