Skip to content

fix: export region should support es6 class and block openings #275

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
Jul 17, 2015

Conversation

ccarpita
Copy link
Contributor

Currently, the following syntax results in an error on the closing
brace:

export default {
} // <-- error here

export default class Modules extends Base {
} // <-- error here

This patch adds jsBlock to be included in a jsExportContainer region
so that region matching will continue to the end of the class or block.

Currently, the following syntax results in an error on the closing
brace:

```js
export default {
} // <-- error here

export default class Modules extends Base {
} // <-- error here
```

This patch adds jsBlock to be included in a jsExportContainer region
so that region matching will continue to the end of the class or block.
@ccarpita
Copy link
Contributor Author

This commit fixes issue GH-256

@qstrahl
Copy link
Collaborator

qstrahl commented Jul 17, 2015

Let's give this a shot

qstrahl added a commit that referenced this pull request Jul 17, 2015
fix: export region should support es6 class and block openings
@qstrahl qstrahl merged commit 062607d into pangloss:develop Jul 17, 2015
@goatslacker
Copy link
Collaborator

I remember this breaking certain things, lets give it a whirl now.

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.

3 participants