Skip to content

Commit e2d8446

Browse files
committed
Allow _atEndOfMicrotask to be patchable.
1 parent 0c21efc commit e2d8446

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/lib/async.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
}
6464
};
6565

66-
new (window.MutationObserver || JsMutationObserver)
67-
(Polymer.Async._atEndOfMicrotask.bind(Polymer.Async))
68-
.observe(Polymer.Async._twiddle, {characterData: true});
66+
new window.MutationObserver(function() {
67+
Polymer.Async._atEndOfMicrotask();
68+
}).observe(Polymer.Async._twiddle, {characterData: true});
6969

7070
</script>

0 commit comments

Comments
 (0)