mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28:50 +02:00
consolidation
This commit is contained in:
parent
4607d130ce
commit
6b125d194c
9 changed files with 1284 additions and 1284 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue