Skip to content

Commit

Permalink
New: Support ES6 classes (refs #10)
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Feb 28, 2015
1 parent 92ee153 commit 6e8dfe3
Show file tree
Hide file tree
Showing 71 changed files with 5,046 additions and 355 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,12 @@ var ast = espree.parse(code, {
// enable parsing of generators/yield
generators: true,

// support the spread operator
// enable parsing spread operator
spread: true,

// enable parsing classes
classes: true,

// enable React JSX parsing
jsx: true,

Expand Down
Loading

0 comments on commit 6e8dfe3

Please sign in to comment.