mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-06-29 16:20:04 +08:00
Rev Control- polishing , visual BugFixes
This commit is contained in:
+3
-3
@@ -3,16 +3,16 @@ var MySnap = require('../models/Snap.js').MySnap
|
||||
module.exports.getAndSendRevHistory = getAndSendRevHistory;
|
||||
|
||||
|
||||
function getAndSendRevHistory(rootId, sock){
|
||||
function getAndSendRevHistory(subRootId, sock){
|
||||
globalList = [];
|
||||
snapHash = {};
|
||||
timeHash = {};
|
||||
depth = 0;
|
||||
socket = sock;
|
||||
|
||||
var rootId = "53ea3f506dc8d39342bf4f9f";
|
||||
// subRootId = "53f10817cb52c1e31cf45d94";
|
||||
// FetchSelfAndChildrenBack(rootId, asyncLoopGetChildren);
|
||||
asyncLoopGetChildren([rootId]);
|
||||
asyncLoopGetChildren([subRootId]);
|
||||
}
|
||||
|
||||
//This is all the backSnaps for ONE rootId.
|
||||
|
||||
Reference in New Issue
Block a user