JSDoc comment.

This commit is contained in:
Ionică Bizău 2015-01-26 10:05:46 +02:00
parent 6c305611ef
commit 1f280b2b6e
1 changed files with 10 additions and 0 deletions

View File

@ -59,6 +59,16 @@ GitStats.record = function (data, callback) {
});
};
/**
* get
* Gets the git stats.
*
* @name get
* @function
* @param {Object} data The stats filter. **Not yet implemented**.
* @param {Function} callback The callback function.
* @return {undefined}
*/
GitStats.get = function (data, callback) {
if (typeof data === "function") {
callback = data;