Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Side by Side Diff: pkg/template_binding/lib/js/microtask.js

Issue 723393003: update to polymer js 0.5.1 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: final tweaks Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 2 * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 * This code may only be used under the BSD style license found at http://polyme r.github.io/LICENSE.txt 3 * This code may only be used under the BSD style license found at http://polyme r.github.io/LICENSE.txt
4 * The complete set of authors may be found at http://polymer.github.io/AUTHORS. txt 4 * The complete set of authors may be found at http://polymer.github.io/AUTHORS. txt
5 * The complete set of contributors may be found at http://polymer.github.io/CON TRIBUTORS.txt 5 * The complete set of contributors may be found at http://polymer.github.io/CON TRIBUTORS.txt
6 * Code distributed by Google as part of the polymer project is also 6 * Code distributed by Google as part of the polymer project is also
7 * subject to an additional IP rights grant found at http://polymer.github.io/PA TENTS.txt 7 * subject to an additional IP rights grant found at http://polymer.github.io/PA TENTS.txt
8 */ 8 */
9 9
10 (function(scope) { 10 (function(scope) {
(...skipping 11 matching lines...) Expand all
22 while (callbacks.length) { 22 while (callbacks.length) {
23 callbacks.shift()(); 23 callbacks.shift()();
24 } 24 }
25 } 25 }
26 26
27 new (window.MutationObserver || JsMutationObserver)(atEndOfMicrotask) 27 new (window.MutationObserver || JsMutationObserver)(atEndOfMicrotask)
28 .observe(twiddle, {characterData: true}) 28 .observe(twiddle, {characterData: true})
29 ; 29 ;
30 30
31 // exports 31 // exports
32 scope.endOfMicrotask = endOfMicrotask;
33 // bc
34 Platform.endOfMicrotask = endOfMicrotask;
32 35
33 scope.endOfMicrotask = endOfMicrotask; 36 })(Polymer);
34 37
35 })(Platform);
36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698