From 86af7c7f1baeabf718ebdba1df66daff90f75389 Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Sun, 14 Feb 2016 13:32:48 +0100 Subject: [PATCH] getInternalRevisionAText docs --- src/node/db/Pad.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/node/db/Pad.js b/src/node/db/Pad.js index fc695988c..df2c3fbbb 100644 --- a/src/node/db/Pad.js +++ b/src/node/db/Pad.js @@ -161,6 +161,13 @@ Pad.prototype.getAllAuthors = function getAllAuthors() { return authors; }; +/* +* Returns an atext at a given revision. It selects the last key rev before targetRev and applies all changesets up to +* the given revision. +* +* @param {Number} targetRev the wanted revision +* @param {Function} callback +*/ Pad.prototype.getInternalRevisionAText = function getInternalRevisionAText(targetRev, callback) { var _this = this;