Add web worker unit test. [closes #313]

Former-commit-id: 77d0b907a5ae58ff3f4da8b54196b12949a4efd4
This commit is contained in:
John-David Dalton
2013-07-07 23:22:56 -07:00
parent 9c65d9f957
commit eb6b5755e7
4 changed files with 97 additions and 36 deletions

6
test/worker.js Normal file
View File

@@ -0,0 +1,6 @@
addEventListener('message', function(e) {
if (e.data) {
importScripts(e.data);
postMessage(_.VERSION);
}
});