Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrow function? #19

Open
mercmobily opened this issue Aug 27, 2016 · 0 comments
Open

Arrow function? #19

mercmobily opened this issue Aug 27, 2016 · 0 comments

Comments

@mercmobily
Copy link

Hey Ye,

I am just wondering if it makes sense to have an arrow function here:

group : { type: Object, value: () => {return {name: Math.random()};}, observer: "groupChanged" },

Code reads:

  group             : { type: Object, value: () => {return {name: Math.random()};}, observer: "groupChanged" },

This line alone makes the Polymer binding totally incompatible with a lot of browsers out there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant