mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-18 17:56:24 +02:00
Resolves #764 -- disableLevelInstructions for global mode change
This commit is contained in:
parent
ddb3dc93ca
commit
6df4d93880
5 changed files with 37 additions and 0 deletions
|
@ -84,6 +84,12 @@ var instantCommands = [
|
|||
msg: intl.str('flip-tree-command')
|
||||
});
|
||||
}],
|
||||
[/^disableLevelInstructions$/, function() {
|
||||
GlobalStateActions.disableLevelInstructions();
|
||||
throw new CommandResult({
|
||||
msg: intl.todo('Level instructions disabled'),
|
||||
});
|
||||
}],
|
||||
[/^refresh$/, function() {
|
||||
var events = require('../app').getEvents();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue