A lot small changes that results in a timeslider that shows the latest text

This commit is contained in:
Peter 'Pita' Martischka 2011-06-20 11:44:04 +01:00
parent 182477af93
commit 44aa476ec0
36 changed files with 6944 additions and 52 deletions

View file

@ -72,6 +72,16 @@ exports.getAuthor4Token = function (token, callback)
});
}
/**
* Returns the Author Obj of the author
* @param {String} author The id of the author
* @param {Function} callback callback(err, authorObj)
*/
exports.getAuthor = function (author, callback)
{
db.get("globalAuthor:" + author, callback);
}
/**
* Returns the color Id of the author
* @param {String} author The id of the author