Skip to content

Instantly share code, notes, and snippets.

View WolfieWerewolf's full-sized avatar

Geoffrey (Wolfie) Wolf WolfieWerewolf

View GitHub Profile
@WolfieWerewolf
WolfieWerewolf / webworker.example.js
Created February 24, 2018 23:57 — forked from akirattii/webworker.example.js
WebWorker example using importScript
Webworker
// worker.js
var ju;
addEventListener('message', function(e) {
if (e.data == "dummy") {
importScripts('./JapaneseUtil.js');
console.log("this worker on message...", e);