1
0
Fork 0

removed deprecated webkitURL

This commit is contained in:
hkernbach 2016-02-22 15:07:13 +01:00
parent 5d53b15104
commit aa382da33b
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ function WebWorkerWrapper(Class, callback) {
return new window.Blob(code.split());
},
worker,
url = window.webkitURL || window.URL,
url = window.URL,
blobPointer = new BlobObject(Class);
worker = new window.Worker(url.createObjectURL(blobPointer));
worker.onmessage = callback;