| Index: lib/dom/templates/html/frog/factoryprovider_MutationObserver.darttemplate
|
| diff --git a/lib/dom/templates/dom/dummy/factoryprovider.darttemplate b/lib/dom/templates/html/frog/factoryprovider_MutationObserver.darttemplate
|
| similarity index 51%
|
| copy from lib/dom/templates/dom/dummy/factoryprovider.darttemplate
|
| copy to lib/dom/templates/html/frog/factoryprovider_MutationObserver.darttemplate
|
| index 68fc08702ba52cba199fe40319ffa1fdf1549381..99a2206f80328ffe643039f4f3ec6bf14db0075a 100644
|
| --- a/lib/dom/templates/dom/dummy/factoryprovider.darttemplate
|
| +++ b/lib/dom/templates/html/frog/factoryprovider_MutationObserver.darttemplate
|
| @@ -3,5 +3,10 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| class $FACTORYPROVIDER {
|
| - factory $CONSTRUCTOR($PARAMETERS) => _dummy();
|
| + factory $CONSTRUCTOR(MutationCallback callback) native '''
|
| + var constructor =
|
| + window.MutationObserver || window.WebKitMutationObserver ||
|
| + window.MozMutationObserver;
|
| + return new constructor(callback);
|
| + ''';
|
| }
|
|
|