mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-12 15:44:25 +02:00
much better
This commit is contained in:
parent
8280f4379d
commit
9bdcedae12
5 changed files with 597 additions and 590 deletions
|
@ -4,6 +4,12 @@ var GRAPHICS = require('../util/constants').GRAPHICS;
|
|||
|
||||
var VisBase = require('../visuals/tree').VisBase;
|
||||
|
||||
var randomHueString = function() {
|
||||
var hue = Math.random();
|
||||
var str = 'hsb(' + String(hue) + ',0.7,1)';
|
||||
return str;
|
||||
};
|
||||
|
||||
var VisBranch = VisBase.extend({
|
||||
defaults: {
|
||||
pos: null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue