mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
Beautify the docs
This commit is contained in:
parent
f7b46f6e69
commit
c4325a050f
10 changed files with 82 additions and 0 deletions
|
@ -5,6 +5,7 @@ The AuthorManager controlls all information about the Pad authors
|
|||
|
||||
## Functions
|
||||
|
||||
- - -
|
||||
### getAuthor4Token (token, callback)
|
||||
Returns the Author Id for a token. If the token is unkown,
|
||||
it creates a author for the token
|
||||
|
@ -13,18 +14,21 @@ it creates a author for the token
|
|||
* **callback** *(Function)* callback (err, author)
|
||||
The callback function that is called when the result is here
|
||||
|
||||
- - -
|
||||
### getAuthorColorId (author, callback)
|
||||
Returns the color Id of the author
|
||||
|
||||
* **author** *(String)* The id of the author
|
||||
* **callback** *(Function)* callback(err, colorId)
|
||||
|
||||
- - -
|
||||
### getAuthorName (author, callback)
|
||||
Returns the name of the author
|
||||
|
||||
* **author** *(String)* The id of the author
|
||||
* **callback** *(Function)* callback(err, name)
|
||||
|
||||
- - -
|
||||
### setAuthorColorId (author, colorId, callback)
|
||||
Sets the color Id of the author
|
||||
|
||||
|
@ -32,6 +36,7 @@ Sets the color Id of the author
|
|||
* **colorId** *No description*
|
||||
* **callback** *(Function)* (optional)
|
||||
|
||||
- - -
|
||||
### setAuthorName (author, name, callback)
|
||||
Sets the name of the author
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue