mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
awesome level delegation going
This commit is contained in:
parent
eb33897a22
commit
4b3e13b0b5
5 changed files with 54 additions and 27 deletions
|
@ -345,8 +345,7 @@ var Level = Sandbox.extend({
|
|||
var methodMap = {
|
||||
'show goal': this.showGoal,
|
||||
'hide goal': this.hideGoal,
|
||||
'show solution': this.showSolution,
|
||||
'exit level': this.exitLevel
|
||||
'show solution': this.showSolution
|
||||
};
|
||||
var method = methodMap[command.get('method')];
|
||||
if (!method) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue