Skip to content

Adds support for string func names in objs classes#479

Merged
amadeus merged 1 commit intodevelopfrom
object-string-key-shorthand
Jun 14, 2016
Merged

Adds support for string func names in objs classes#479
amadeus merged 1 commit intodevelopfrom
object-string-key-shorthand

Conversation

@amadeus
Copy link
Collaborator

@amadeus amadeus commented Jun 14, 2016

This fixes #477

Basically this adds support for function definitions like this:

var obj = {
    "some-func"(){},
    'another-func'(){}
};

class Example {
    "some-func"(){},
    'another-func'(){}
};

@amadeus
Copy link
Collaborator Author

amadeus commented Jun 14, 2016

This should definitely get merged into develop and into master asap. It's a simple and very important fix.

@amadeus amadeus merged commit be55064 into develop Jun 14, 2016
@amadeus amadeus deleted the object-string-key-shorthand branch June 14, 2016 18:53
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

Successfully merging this pull request may close these issues.

1 participant