mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 23:48:34 +02:00
consolidation
This commit is contained in:
parent
4607d130ce
commit
6b125d194c
9 changed files with 1284 additions and 1284 deletions
2546
build/bundle.js
2546
build/bundle.js
File diff suppressed because it is too large
Load diff
|
@ -1,7 +1,7 @@
|
|||
var Commit = require('../git').Commit;
|
||||
var Branch = require('../git').Branch;
|
||||
|
||||
var Main = require('../app/main');
|
||||
var Main = require('../app');
|
||||
var Command = require('../models/commandModel').Command;
|
||||
var CommandEntry = require('../models/commandModel').CommandEntry;
|
||||
var TIME = require('../constants').TIME;
|
||||
|
@ -29,7 +29,7 @@ var CommandBuffer = Backbone.Model.extend({
|
|||
},
|
||||
|
||||
initialize: function(options) {
|
||||
require('../app/main').getEvents().on('gitCommandReady', _.bind(
|
||||
require('../app').getEvents().on('gitCommandReady', _.bind(
|
||||
this.addCommand, this
|
||||
));
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
var AnimationFactoryModule = require('../animation/animationFactory');
|
||||
var animationFactory = new AnimationFactoryModule.AnimationFactory();
|
||||
var Main = require('../app/main');
|
||||
var Main = require('../app');
|
||||
var AnimationQueue = require('../animation').AnimationQueue;
|
||||
var InteractiveRebaseView = require('../views/miscViews').InteractiveRebaseView;
|
||||
|
||||
|
|
|
@ -182,7 +182,7 @@ var Command = Backbone.Model.extend({
|
|||
});
|
||||
}],
|
||||
[/^refresh$/, function() {
|
||||
var events = require('../app/main').getEvents();
|
||||
var events = require('../app').getEvents();
|
||||
|
||||
events.trigger('refreshTree');
|
||||
throw new CommandResult({
|
||||
|
@ -190,7 +190,7 @@ var Command = Backbone.Model.extend({
|
|||
});
|
||||
}],
|
||||
[/^rollup (\d+)$/, function(bits) {
|
||||
var events = require('../app/main').getEvents();
|
||||
var events = require('../app').getEvents();
|
||||
|
||||
// go roll up these commands by joining them with semicolons
|
||||
events.trigger('rollupCommands', bits[1]);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var toGlobalize = {
|
||||
Tree: require('../tree'),
|
||||
Tree: require('../visuals/tree'),
|
||||
Visuals: require('../visuals'),
|
||||
Git: require('../git'),
|
||||
CommandModel: require('../models/commandModel'),
|
||||
|
@ -8,7 +8,7 @@ var toGlobalize = {
|
|||
Collections: require('../collections'),
|
||||
Async: require('../animation'),
|
||||
AnimationFactory: require('../animation/animationFactory'),
|
||||
Main: require('../app/main')
|
||||
Main: require('../app')
|
||||
};
|
||||
|
||||
_.each(toGlobalize, function(module) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var CommandEntryCollection = require('../collections').CommandEntryCollection;
|
||||
var Main = require('../app/main');
|
||||
var Main = require('../app');
|
||||
var Command = require('../models/commandModel').Command;
|
||||
var CommandEntry = require('../models/commandModel').CommandEntry;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var Main = require('../app/main');
|
||||
var Main = require('../app');
|
||||
var GRAPHICS = require('../constants').GRAPHICS;
|
||||
var GLOBAL = require('../constants').GLOBAL;
|
||||
|
||||
|
@ -6,7 +6,7 @@ var Collections = require('../collections');
|
|||
var CommitCollection = Collections.CommitCollection;
|
||||
var BranchCollection = Collections.BranchCollection;
|
||||
|
||||
var Tree = require('../tree');
|
||||
var Tree = require('../visuals/tree');
|
||||
var VisEdgeCollection = Tree.VisEdgeCollection;
|
||||
var VisBranchCollection = Tree.VisBranchCollection;
|
||||
var VisNode = Tree.VisNode;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var Main = require('../app/main');
|
||||
var Main = require('../app');
|
||||
var GRAPHICS = require('../constants').GRAPHICS;
|
||||
|
||||
var randomHueString = function() {
|
Loading…
Add table
Add a link
Reference in a new issue