mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 09:20:03 +02:00
Issue #105 making objective more discoverable
This commit is contained in:
parent
3b8649c891
commit
31ad2a586b
9 changed files with 41 additions and 12 deletions
|
@ -704,6 +704,9 @@ var CommandsHelperBar = HelperBar.extend({
|
|||
}, {
|
||||
text: 'Undo',
|
||||
id: 'undo'
|
||||
}, {
|
||||
text: 'Objective',
|
||||
id: 'objectve'
|
||||
}, {
|
||||
text: 'Help',
|
||||
id: 'help'
|
||||
|
@ -718,6 +721,10 @@ var CommandsHelperBar = HelperBar.extend({
|
|||
HelperBar.prototype.fireCommand.apply(this, arguments);
|
||||
},
|
||||
|
||||
onObjectiveClick: function() {
|
||||
this.fireCommand('objective');
|
||||
},
|
||||
|
||||
onLevelsClick: function() {
|
||||
this.fireCommand('levels');
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue