mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Fixes jsdoc types
This commit is contained in:
parent
890d1a4e05
commit
37490524d9
3 changed files with 12 additions and 12 deletions
|
@ -24,8 +24,8 @@ var async = require("async");
|
||||||
/**
|
/**
|
||||||
* Returns the Author Id for a token. If the token is unkown,
|
* Returns the Author Id for a token. If the token is unkown,
|
||||||
* it creates a author for the token
|
* it creates a author for the token
|
||||||
* @param token {String} The token
|
* @param {String} token The token
|
||||||
* @param callback {Function} callback (err, author)
|
* @param {Function} callback callback (err, author)
|
||||||
* The callback function that is called when the result is here
|
* The callback function that is called when the result is here
|
||||||
*/
|
*/
|
||||||
exports.getAuthor4Token = function (token, callback)
|
exports.getAuthor4Token = function (token, callback)
|
||||||
|
@ -74,8 +74,8 @@ exports.getAuthor4Token = function (token, callback)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the color Id of the author
|
* Returns the color Id of the author
|
||||||
* @param author {String} The id of the author
|
* @param {String} author The id of the author
|
||||||
* @param callback {Function} callback(err, colorId)
|
* @param {Function} callback callback(err, colorId)
|
||||||
*/
|
*/
|
||||||
exports.getAuthorColorId = function (author, callback)
|
exports.getAuthorColorId = function (author, callback)
|
||||||
{
|
{
|
||||||
|
@ -84,8 +84,8 @@ exports.getAuthorColorId = function (author, callback)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the color Id of the author
|
* Sets the color Id of the author
|
||||||
* @param author {String} The id of the author
|
* @param {String} author The id of the author
|
||||||
* @param callback {Function} (optional)
|
* @param {Function} callback (optional)
|
||||||
*/
|
*/
|
||||||
exports.setAuthorColorId = function (author, colorId, callback)
|
exports.setAuthorColorId = function (author, colorId, callback)
|
||||||
{
|
{
|
||||||
|
@ -94,8 +94,8 @@ exports.setAuthorColorId = function (author, colorId, callback)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the name of the author
|
* Returns the name of the author
|
||||||
* @param author {String} The id of the author
|
* @param {String} author The id of the author
|
||||||
* @param callback {Function} callback(err, name)
|
* @param {Function} callback callback(err, name)
|
||||||
*/
|
*/
|
||||||
exports.getAuthorName = function (author, callback)
|
exports.getAuthorName = function (author, callback)
|
||||||
{
|
{
|
||||||
|
@ -104,8 +104,8 @@ exports.getAuthorName = function (author, callback)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the name of the author
|
* Sets the name of the author
|
||||||
* @param author {String} The id of the author
|
* @param {String} author The id of the author
|
||||||
* @param callback {Function} (optional)
|
* @param {Function} callback (optional)
|
||||||
*/
|
*/
|
||||||
exports.setAuthorName = function (author, name, callback)
|
exports.setAuthorName = function (author, name, callback)
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,7 +28,7 @@ globalPads = [];
|
||||||
/**
|
/**
|
||||||
* Returns a Pad Object with the callback
|
* Returns a Pad Object with the callback
|
||||||
* @param id A String with the id of the pad
|
* @param id A String with the id of the pad
|
||||||
* @param callback {Function}
|
* @param {Function} callback
|
||||||
*/
|
*/
|
||||||
exports.getPad = function(id, callback)
|
exports.getPad = function(id, callback)
|
||||||
{
|
{
|
||||||
|
|
|
@ -32,7 +32,7 @@ exports.db = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initalizes the database with the settings provided by the settings module
|
* Initalizes the database with the settings provided by the settings module
|
||||||
* @param callback {Function}
|
* @param {Function} callback
|
||||||
*/
|
*/
|
||||||
exports.init = function(callback)
|
exports.init = function(callback)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue