Re: [css-houdini-drafts] [css-paint-api] Use JS export instead of registerPaint

It would know from `CSS.paintWorklet.addModule('my-custom-worklet.js')`. Every export in `my-custom-worklet.js` would be registered as a custom paint class. The idea is that it would an ordinary export to not introduce a new concept.

-- 
GitHub Notification of comment by rik
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/564#issuecomment-359265882 using your GitHub account

Received on Sunday, 21 January 2018 17:40:29 UTC