mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 17:00:04 +02:00
more
This commit is contained in:
parent
a229bc2f41
commit
b566ebf6f6
6 changed files with 10 additions and 8 deletions
|
@ -70,10 +70,7 @@ var CommandPromptView = Backbone.View.extend({
|
|||
_.each(value.split(';'), _.bind(function(command) {
|
||||
command = command.replace(/^(\s+)/, '');
|
||||
command = command.replace(/(\s+)$/, '');
|
||||
console.log('the command is', command);
|
||||
if (command.length) {
|
||||
this.addToCollection(command);
|
||||
}
|
||||
this.addToCollection(command);
|
||||
}, this));
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue