-
-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1113@patch: Fixes second parameter missing from MutationObserver cal…
…lback.
- Loading branch information
Showing
6 changed files
with
21 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
import IMutationObserverInit from './IMutationObserverInit.js'; | ||
import MutationObserver from './MutationObserver.js'; | ||
import MutationRecord from './MutationRecord.js'; | ||
|
||
/** | ||
* MutationObserverListener is a model for what to listen for on a Node. | ||
*/ | ||
export default class MutationListener { | ||
public options: IMutationObserverInit = null; | ||
public callback: (record: MutationRecord[]) => void = null; | ||
public observer: MutationObserver = null; | ||
public callback: (record: MutationRecord[], observer: MutationObserver) => void = null; | ||
} |
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
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
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
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
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