mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 15:38:33 +02:00
AWESOME origin compare within trees and levels, visualizations down, finish animation chain fixed, everything is awesome here. ready fororigin levels
This commit is contained in:
parent
7a00bd09f6
commit
c4ae821cef
12 changed files with 203 additions and 60 deletions
|
@ -230,6 +230,11 @@ GitEngine.prototype.instantiateFromTree = function(tree) {
|
|||
|
||||
if (tree.originTree) {
|
||||
var treeString = JSON.stringify(tree.originTree);
|
||||
// if we dont have an animation queue (like when loading
|
||||
// right away), just go ahead and make an empty one
|
||||
this.animationQueue = this.animationQueue || new AnimationQueue({
|
||||
callback: function() {}
|
||||
});
|
||||
this.makeOrigin(treeString);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue