Skip to content

Adds support for string func names in objs classes#479

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

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

Conversation

@amadeus

@amadeus amadeus commented Jun 14, 2016

Copy link
Copy Markdown
Collaborator

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

amadeus commented Jun 14, 2016

Copy link
Copy Markdown
Collaborator Author

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