mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 07:58:34 +02:00
moving around
This commit is contained in:
parent
a180426cfb
commit
4046916432
8 changed files with 317 additions and 209 deletions
|
@ -7,7 +7,6 @@ var CommitCollection = Collections.CommitCollection;
|
|||
var BranchCollection = Collections.BranchCollection;
|
||||
|
||||
var GitVisuals = require('../visuals').GitVisuals;
|
||||
var InputWaterfall = require('../level/inputWaterfall').InputWaterfall;
|
||||
|
||||
var Visualization = Backbone.View.extend({
|
||||
initialize: function(options) {
|
||||
|
@ -27,11 +26,7 @@ var Visualization = Backbone.View.extend({
|
|||
this.paper = paper;
|
||||
|
||||
var Main = require('../app');
|
||||
this.events = Main.getEvents();
|
||||
|
||||
// hook the git engine up to the command input
|
||||
this.inputWaterfall = new InputWaterfall();
|
||||
|
||||
this.events = options.events || Main.getEvents();
|
||||
|
||||
this.commitCollection = new CommitCollection();
|
||||
this.branchCollection = new BranchCollection();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue