ImageGrid/Viewer/lib/components/ig-image-graph-worker.js
Alex A. Naanou 5f47d6da7b restructured the repo moving the legacy out of the way...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2020-08-28 17:32:02 +03:00

28 lines
751 B
JavaScript

/**********************************************************************
*
*
*
* XXX still thinking on how to package this correctly...
* XXX add worker support...
*
**********************************************************************/
// var htmlCanvas = document.getElementById("canvas")
// var offscreen = htmlCanvas.transferControlToOffscreen()
//
// var worker = new Worker("offscreencanvas.js")
// worker.postMessage({canvas: offscreen}, [offscreen])
//
// XXX also test for OffscreenWorker(..)...
onmessage = function(evt){
var canvas = evt.data.canvas
// XXX
}
/**********************************************************************
* vim:set ts=4 sw=4 : */