- From: Anne van Kesteren via GitHub <sysbot+gh@w3.org>
- Date: Fri, 14 Apr 2017 16:40:26 +0000
- To: public-houdini-archive@w3.org
I think the reason there's no constructor is because it doesn't make sense to have more than one instance, so you'd need to keep global state to prevent multiple instances at which point you might as well just have it there. And the main reason to favor something like `spawn` over `import` is because the code can end up running in multiple globals (or is guaranteed to, in case of paint worklets). -- GitHub Notification of comment by annevk Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/374#issuecomment-294187655 using your GitHub account
Received on Friday, 14 April 2017 16:40:33 UTC