Skip to content

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