Skip to content

Commit

Permalink
v. 2.2.0
Browse files Browse the repository at this point in the history
* optimise, various changes
* reduce unnecessary state space while parsing
  • Loading branch information
Nikos M committed Oct 15, 2015
1 parent 59a09dd commit eb94a1e
Show file tree
Hide file tree
Showing 17 changed files with 1,267 additions and 928 deletions.
12 changes: 12 additions & 0 deletions api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@ This way arbitrary `dialects` and `variations` can be handled more easily



__Method__: `pre_process`

```javascript
CodeMirrorGrammar.pre_process( grammar );
```

This is used internally by the `CodeMirrorGrammar` Class `parse` method
In order to pre-process, in-place, a `JSON grammar`
to transform any shorthand configurations to full object configurations and provide defaults.



__Method__: `parse`

```javascript
Expand Down
2 changes: 1 addition & 1 deletion beeld.config
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tasks =[{}]

"@@ROOT@@" = "this"
"@@EXPORTS@@" = "exports"
"@@VERSION@@" = "2.1.1"
"@@VERSION@@" = "2.2.0"
"@@MODULE_NAME@@" = "CodeMirrorGrammar"

@
Expand Down
Loading

0 comments on commit eb94a1e

Please sign in to comment.