Commit Graph

1 Commits

Author SHA1 Message Date
sra@google.com 7b24c8ac90 Add MutationObserver constructor
Add custom MutationObserver.observe method

The observe method supports configuration by dictionary and optional arguments:

observer.observe(node, {'subtree': true});
observer.observe(node, subtree: true);

If both are given, they are merged.

Review URL: https://chromiumcodereview.appspot.com//10696209

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9752 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 02:16:09 +00:00