Fix the doc for Parser for reflect the right signature
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
f0ad61acd7
commit
9ff4b01ac5
|
|
@ -326,9 +326,9 @@ Every Parser class must implement these methods to work properly.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
/*
|
/*
|
||||||
* The default constructor with Spec as parameter
|
* The default constructor with Parser as decorator
|
||||||
*/
|
*/
|
||||||
Parser(Spec)
|
Parser(Parser)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Try to parse the payload to some event format
|
* Try to parse the payload to some event format
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue