#1057·EaselJS

Cannot use Easeljs inside webworker

Author: nicolasgoudardCreated Dec 26, 2020Updated Aug 20, 2024

TODO

Hi I am using the last version of CreateJS (EaselJS 1.0.0 ) We cannot use easeljs functionalites in Webworker because it is impossible to include by the "importScripts " keyword : I think because the library use the javascript "window" or "document" objects that refer to the DOM this is a serious problem if you want to do complex geometric figure position calculations in the background before refreshing the canvas without the user losing control Best Regards