Commit 30160fbb authored by Tristan Cavelier's avatar Tristan Cavelier

revisionstorage.js jslint

parent c1a40dc3
...@@ -247,7 +247,7 @@ jIO.addStorageType('revision', function (spec, my) { ...@@ -247,7 +247,7 @@ jIO.addStorageType('revision', function (spec, my) {
* @param {array} The document revs_info * @param {array} The document revs_info
*/ */
priv.updateDocumentTree = function (doctree, revs, deleted) { priv.updateDocumentTree = function (doctree, revs, deleted) {
var revs_info, doctree_iterator, flag; var revs_info, doctree_iterator, flag, i, rev;
revs_info = []; revs_info = [];
if (revs.ids) { if (revs.ids) {
// revs is a revision history object // revs is a revision history object
...@@ -258,7 +258,7 @@ jIO.addStorageType('revision', function (spec, my) { ...@@ -258,7 +258,7 @@ jIO.addStorageType('revision', function (spec, my) {
} }
doctree_iterator = doctree; doctree_iterator = doctree;
while (revs.length > 0) { while (revs.length > 0) {
var i, rev = revs.pop(0); rev = revs.pop(0);
revs_info.unshift({ revs_info.unshift({
"rev": rev, "rev": rev,
"status": "missing" "status": "missing"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment