diff --git a/src/instance/base.js b/src/instance/base.js index 957d52f3d5..a7d01b47da 100644 --- a/src/instance/base.js +++ b/src/instance/base.js @@ -172,8 +172,8 @@ } }, onMutation: function(node, listener) { - var observer = new MutationObserver(function() { - listener.call(this, observer); + var observer = new MutationObserver(function(mutations) { + listener.call(this, observer, mutations); observer.disconnect(); }.bind(this)); observer.observe(node, {childList: true, subtree: true});