Skip to content

Commit

Permalink
Fix table in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jorrit authored Oct 24, 2017
1 parent 61ea530 commit 7121d25
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ each of them.

The basic workflow consists of these four steps executed on such an object:

Step | C API | Synchroneous JavaScript | Asynchroneous JavaScript
--- | --- | --- | ---
1. | [`tidyParseBuffer(doc,&buf)`][tidyParseBuffer] | `doc.parseBufferSync(buf)` | `doc.parseBuffer(buf,cb)`
2. | [`tidyCleanAndRepair(doc)`][tidyCleanAndRepair] | `doc.cleanAndRepairSync()` | `doc.cleanAndRepair(cb)`
3. | [`tidyRunDiagnostics(doc)`][tidyRunDiagnostics] | `doc.runDiagnosticsSync()` | `doc.runDiagnostics(cb)`
4. | [`tidySaveBuffer(doc,&buf)`][tidySaveBuffer] | `doc.saveBufferSync()` | `doc.saveBuffer(cb)`
| Step | C API | Synchroneous JavaScript | Asynchroneous JavaScript |
| --- | --- | --- | --- |
| 1. | [`tidyParseBuffer(doc,&buf)`][tidyParseBuffer] | `doc.parseBufferSync(buf)` | `doc.parseBuffer(buf,cb)` |
| 2. | [`tidyCleanAndRepair(doc)`][tidyCleanAndRepair] | `doc.cleanAndRepairSync()` | `doc.cleanAndRepair(cb)` |
| 3. | [`tidyRunDiagnostics(doc)`][tidyRunDiagnostics] | `doc.runDiagnosticsSync()` | `doc.runDiagnostics(cb)` |
| 4. | [`tidySaveBuffer(doc,&buf)`][tidySaveBuffer] | `doc.saveBufferSync()` | `doc.saveBuffer(cb)` |

Most synchroneous functions take no argument
and return any diagnostic messages generated in the process.
Expand Down

0 comments on commit 7121d25

Please sign in to comment.