Skip to content

Adds support for string func names in objs classes #479

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

Merged
merged 1 commit into from
Jun 14, 2016

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