-
-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Les Echos : Enhance error handling (querySelector). Refactor Mutation…
…Observers. (#243) * Enhance error handling (querySelector). Refactor MutationObservers. - Reduce querySelector usage by passing metaElement to isPremium function. - Fix race condition. - Correctly disconnect observer. * Correctly check if metaElement exist in callbackTitle. Rename callbback to callbackDirectAccess to differentiate the two callbackes. Removing useless check in isPremium function * Rename observerTitle to observerDynamicLoading for better readability * LesEchos : Yet another try to fix the race conditions where two buttons are added
- Loading branch information
Showing
1 changed file
with
30 additions
and
29 deletions.
There are no files selected for viewing
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