Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Implement MutationObserver from scratch
Browse files Browse the repository at this point in the history
This is an implementation of the MutationObserver without relying on
native MutationEvents nor native MutationObserver.
  • Loading branch information
arv committed Nov 6, 2013
1 parent 4b62222 commit 56e3d82
Show file tree
Hide file tree
Showing 20 changed files with 2,124 additions and 154 deletions.
3 changes: 2 additions & 1 deletion build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"../observe-js/src/observe.js",
"../WeakMap/weakmap.js",
"src/wrappers.js",
"src/microtask.js",
"src/MutationObserver.js",
"src/wrappers/events.js",
"src/wrappers/NodeList.js",
"src/wrappers/Node.js",
Expand All @@ -27,7 +29,6 @@
"src/wrappers/elements-with-form-property.js",
"src/wrappers/Document.js",
"src/wrappers/Window.js",
"src/wrappers/MutationObserver.js",
"src/wrappers/Range.js",
"src/wrappers/override-constructors.js"
]
3 changes: 2 additions & 1 deletion shadowdom.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
'../observe-js/src/observe.js',
'../WeakMap/weakmap.js',
'src/wrappers.js',
'src/microtask.js',
'src/MutationObserver.js',
'src/wrappers/events.js',
'src/wrappers/NodeList.js',
'src/wrappers/Node.js',
Expand All @@ -43,7 +45,6 @@
'src/wrappers/elements-with-form-property.js',
'src/wrappers/Document.js',
'src/wrappers/Window.js',
'src/wrappers/MutationObserver.js',
'src/wrappers/Range.js',
'src/wrappers/override-constructors.js'
].forEach(function(src) {
Expand Down
Loading

0 comments on commit 56e3d82

Please sign in to comment.