Created
December 20, 2018 23:39
-
-
Save vitaliy-bobrov/b3fb19106a94436d5a19a4fa1eb3fe2f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const reader = new FileReader(); | |
reader.addEventListener('load', () => { | |
CSS.paintWorklet.addModule(reader.result); | |
}); | |
reader.readAsText(blob); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment