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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-signals/iron-signals-extracted.js

Issue 1155683008: Rename polymer and cr_elements v0_8 to v1_0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v1
Patch Set: fix a merge mistake Created 5 years, 6 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 1
2 (function(){ 2 (function(){
3 /** 3 /**
4 `iron-signals` provides basic publish-subscribe functionality. 4 `iron-signals` provides basic publish-subscribe functionality.
5 5
6 Note: avoid using `iron-signals` whenever you can use 6 Note: avoid using `iron-signals` whenever you can use
7 a controller (parent element) to mediate communication 7 a controller (parent element) to mediate communication
8 instead. 8 instead.
9 9
10 To send a signal, fire a custom event of type `iron-signal`, with 10 To send a signal, fire a custom event of type `iron-signal`, with
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 s.dispatchEvent(signal); 60 s.dispatchEvent(signal);
61 }); 61 });
62 } 62 }
63 63
64 // signal listener at document 64 // signal listener at document
65 document.addEventListener('iron-signal', function(e) { 65 document.addEventListener('iron-signal', function(e) {
66 notify(e.detail.name, e.detail.data); 66 notify(e.detail.name, e.detail.data);
67 }); 67 });
68 68
69 })(); 69 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698