mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 07:58:34 +02:00
OMG I AM RIGHT FUCKING HERE SO CLOSE
This commit is contained in:
parent
2e92e106d4
commit
d400158781
10 changed files with 183 additions and 76 deletions
|
@ -11,6 +11,8 @@ var GitVisuals = require('../visuals').GitVisuals;
|
|||
var Visualization = Backbone.View.extend({
|
||||
initialize: function(options) {
|
||||
var _this = this;
|
||||
this.customEvents = _.clone(Backbone.Events);
|
||||
|
||||
new Raphael(10, 10, 200, 200, function() {
|
||||
|
||||
// for some reason raphael calls this function with a predefined
|
||||
|
@ -58,6 +60,8 @@ var Visualization = Backbone.View.extend({
|
|||
|
||||
this.setTreeOpacity(0);
|
||||
this.fadeTreeIn();
|
||||
|
||||
this.customEvents.trigger('gitEngineReady');
|
||||
},
|
||||
|
||||
setTreeOpacity: function(level) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue