From 3baa6eaa5f340944ea4308918ff4e18a0e16e1f2 Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Thu, 25 Feb 2016 15:42:03 +0100 Subject: [PATCH] jsdoc PadMessageHandler.js --- src/node/handler/PadMessageHandler.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/node/handler/PadMessageHandler.js b/src/node/handler/PadMessageHandler.js index f48be604b..1bf5c3e48 100644 --- a/src/node/handler/PadMessageHandler.js +++ b/src/node/handler/PadMessageHandler.js @@ -1579,6 +1579,12 @@ function getChangesetInfo(padId, startNum, endNum, granularity, callback) /** * Tries to rebuild the getPadLines function of the original Etherpad + * Returns an object with lines and alines of a revision + * + * @param padId {string} the name of the pad + * @param revNum {Number} a revision + * @return {Object} an object containing lines and alines + * * https://github.com/ether/pad/blob/master/etherpad/src/etherpad/control/pad/pad_changeset_control.js#L263 */ function getPadLines(padId, revNum, callback) @@ -1631,6 +1637,13 @@ function getPadLines(padId, revNum, callback) /** * Tries to rebuild the composePadChangeset function of the original Etherpad + * Combines consecutive changesets between startNum and endNum into one cs + * + * @param padId the pad + * @param startNum the revision to start with + * @param endNum the revision to end with + * @param callback + * * https://github.com/ether/pad/blob/master/etherpad/src/etherpad/control/pad/pad_changeset_control.js#L241 */ function composePadChangesets(padId, startNum, endNum, callback)