Created
July 21, 2019 10:45
-
-
Save DAB0mB/6ed99b17e5a0fba382d30ba21b216034 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function observerCallback (mutations, observer) { | |
// Will cause more mutations | |
updateStyle(mutations) | |
// Will dispose pending mutations | |
observer.takeRecords() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment