mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-21 03:05:31 +02:00
better zoom support
This commit is contained in:
parent
7750bae1b4
commit
423a353e28
14 changed files with 143 additions and 137 deletions
|
@ -32,7 +32,6 @@ var CommandBuffer = Backbone.Model.extend({
|
|||
},
|
||||
|
||||
initialize: function(options) {
|
||||
require('../app').getEvents().on('gitCommandReady', this.addCommand, this);
|
||||
options.collection.bind('add', this.addCommand, this);
|
||||
|
||||
this.buffer = [];
|
||||
|
|
|
@ -146,6 +146,8 @@ var Command = Backbone.Model.extend({
|
|||
}
|
||||
|
||||
_.each(results.toSet, function(obj, key) {
|
||||
// data comes back from the parsing functions like
|
||||
// options (etc) that need to be set
|
||||
this.set(key, obj);
|
||||
}, this);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue