Skip to content

Arrow function? #19

@mercmobily

Description

@mercmobily

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions