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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/more-routing/emitter-extracted.js

Issue 1287713002: [MD settings] merge polymer 1.0.11; hack for settings checkbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months 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
OLDNEW
1
2 (function(scope) { 1 (function(scope) {
3 var MoreRouting = scope.MoreRouting = scope.MoreRouting || {}; 2 var MoreRouting = scope.MoreRouting = scope.MoreRouting || {};
4 MoreRouting.Emitter = Object.create(null); // Minimal set of properties. 3 MoreRouting.Emitter = Object.create(null); // Minimal set of properties.
5 4
6 /** 5 /**
7 * A dumb prototype that provides very simple event subscription. 6 * A dumb prototype that provides very simple event subscription.
8 * 7 *
9 * You are responsible for initializing `__listeners` as an array on objects 8 * You are responsible for initializing `__listeners` as an array on objects
10 * that make use of this. 9 * that make use of this.
11 */ 10 */
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 } 57 }
59 58
60 this.__listeners.forEach(function(listener) { 59 this.__listeners.forEach(function(listener) {
61 listener.apply(null, args); 60 listener.apply(null, args);
62 }.bind(this)); 61 }.bind(this));
63 }, 62 },
64 }, 63 },
65 64
66 }); 65 });
67 66
68 })(window); 67 })(window);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698