mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 00:18:56 +02:00
tried to port one more, broke on events instantiation
This commit is contained in:
parent
8d2803e4e4
commit
6327566a63
6 changed files with 2055 additions and 32 deletions
|
@ -1,7 +1,16 @@
|
|||
var CommitCollection = require('./collections').CommitCollection;
|
||||
var BranchCollection = require('./collections').BranchCollection;
|
||||
var Collections = require('./collections');
|
||||
var CommitCollection = Collections.CommitCollection;
|
||||
var BranchCollection = Collections.BranchCollection;
|
||||
|
||||
var GitEngine = require('./git').GitEngine;
|
||||
|
||||
var Tree = require('./tree');
|
||||
var VisEdgeCollection = Tree.VisEdgeCollection;
|
||||
var VisBranchCollection = Tree.VisBranchCollection;
|
||||
var VisNode = Tree.VisNode;
|
||||
var VisBranch = Tree.VisBranch;
|
||||
var VisEdge = Tree.VisEdge;
|
||||
|
||||
var Visualization = Backbone.View.extend({
|
||||
initialize: function(options) {
|
||||
var _this = this;
|
||||
|
@ -665,11 +674,5 @@ function blendHueStrings(hueStrings) {
|
|||
return 'hsb(' + String(hue) + ',' + String(totalSat) + ',' + String(totalBright) + ')';
|
||||
}
|
||||
|
||||
function randomHueString() {
|
||||
var hue = Math.random();
|
||||
var str = 'hsb(' + String(hue) + ',0.7,1)';
|
||||
return str;
|
||||
};
|
||||
|
||||
exports.Visualization = Visualization;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue