rephrase jsdoc in Pad.js

This commit is contained in:
webzwo0i 2016-02-25 15:41:07 +01:00
parent 379689c794
commit 8117e18478

View file

@ -162,8 +162,8 @@ Pad.prototype.getAllAuthors = function getAllAuthors() {
};
/*
* Returns an atext at a given revision. It selects the last key rev before targetRev and applies all changesets up to
* the given revision.
* Calculates the atext of a given revision using the last key revision, consecutively applying
* the revisions in between.
*
* @param {Number} targetRev the wanted revision
* @param {Function} callback
@ -288,7 +288,8 @@ Pad.prototype.getValidRevisionRange = function getValidRevisionRange(startRev, e
};
/*
* Gets the key revision that is the last revision with units' and tens' zero (ie % 100 == 0)
* Calculates the key revision preceding revNum
*
* @param {Number} revNum
* returns {Number}
*/