Doodle3D-Slicer/webworker/benchmark.js
2015-05-29 10:41:44 +02:00

9 lines
150 B
JavaScript

self.addEventListener("message", function (event) {
"use strict";
//console.log(event.data);
if (event.data === "close") {
self.close();
}
});