You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
In the example below, my signal with an uppercase letter in the name doesn't work and the lowercase one gets called twice when it should only get called once.
<!DOCTYPE html><scriptsrc="third_party/polymer/polymer.js"></script><linkrel="import" href="third_party/polymer-elements/polymer-signals/polymer-signals.html"><polymer-elementname="my-element"><template>
Should get a "fooBar" signal and only a single "foobar" signal.
</template><script>Polymer('my-element',{created: function(){this.asyncFire('polymer-signal',{name: "foobar",data: "foobar"});this.asyncFire('polymer-signal',{name: "fooBar",data: "fooBar"});}});</script></polymer-element><polymer-elementname="my-app"><template><polymer-signalson-polymer-signal-foobar="foobarSignal"></polymer-signals><polymer-signalson-polymer-signal-fooBar="foobarSignal"></polymer-signals><content></cotnent></template><script>Polymer('my-app',{foobarSignal: function(e,detail,sender){this.innerHTML+='<br>[my-app] got a ['+detail+'] signal<br>';}});</script></polymer-element><my-element></my-element><my-app></my-app>
[original issue posed by ojanvafai]
In the example below, my signal with an uppercase letter in the name doesn't work and the lowercase one gets called twice when it should only get called once.