mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-08-14 12:00:10 +08:00
DONE.Release0.0. MISC small things. Fixed ClientRevBug
This commit is contained in:
@@ -5,7 +5,7 @@ var NodeModel = Backbone.Model.extend({
|
||||
|
||||
var ancestry = [];
|
||||
var parents = that.get("parents");
|
||||
while(parents.length != 0){
|
||||
while( !(parents[0] == "a42a" || parents[0]=="42" || parents.length==0) ) {
|
||||
ancestry.push(parents);
|
||||
parents = nodesCollection.findWhere({_id: parents[0]}).get("parents");
|
||||
// parents = that.findModel(parents[0]).get("parents");
|
||||
|
||||
Reference in New Issue
Block a user