mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-27 19:06:15 -04:00
add missing break
This commit is contained in:
parent
e54d63dbcb
commit
88971c1462
1 changed files with 3 additions and 0 deletions
|
@ -139,8 +139,11 @@ $.Class("Revision2",
|
||||||
var e = edge[granularity];
|
var e = edge[granularity];
|
||||||
path.push(e);
|
path.push(e);
|
||||||
current = e.target_revision;
|
current = e.target_revision;
|
||||||
|
break;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
//TODO: none of the granularities matched. WTF? This probably means that there is NO useful
|
||||||
|
//edge in the direction of traversal. Is this a termination condition?
|
||||||
};
|
};
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue