mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28:50 +02:00
rebase onto commits
This commit is contained in:
parent
93abdd9043
commit
73cf66b35e
3 changed files with 14 additions and 4 deletions
|
@ -42,6 +42,10 @@ var VisBranch = VisBase.extend({
|
|||
}
|
||||
},
|
||||
|
||||
getFill: function() {
|
||||
return this.get('fill');
|
||||
},
|
||||
|
||||
getID: function() {
|
||||
return this.get('branch').get('id');
|
||||
},
|
||||
|
@ -505,9 +509,9 @@ var VisNode = VisBase.extend({
|
|||
};
|
||||
},
|
||||
|
||||
highlightTo: function(branch, speed, easing) {
|
||||
highlightTo: function(visObj, speed, easing) {
|
||||
// a small function to highlight the color of a node for demonstration purposes
|
||||
var color = branch.get('fill');
|
||||
var color = visObj.get('fill');
|
||||
|
||||
var attr = {
|
||||
circle: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue