mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 00:18:56 +02:00
ok
This commit is contained in:
parent
a5c0480962
commit
9a20589fd7
4 changed files with 16 additions and 10 deletions
|
@ -4624,7 +4624,8 @@ var Sandbox = Backbone.View.extend({
|
||||||
'delay': this.delay,
|
'delay': this.delay,
|
||||||
'clear': this.clear,
|
'clear': this.clear,
|
||||||
'exit level': this.exitLevel,
|
'exit level': this.exitLevel,
|
||||||
'level': this.startLevel
|
'level': this.startLevel,
|
||||||
|
'sandbox': this.exitLevel
|
||||||
};
|
};
|
||||||
var method = commandMap[command.get('method')];
|
var method = commandMap[command.get('method')];
|
||||||
if (!method) { throw new Error('no method for that wut'); }
|
if (!method) { throw new Error('no method for that wut'); }
|
||||||
|
@ -12753,6 +12754,7 @@ var regexMap = {
|
||||||
'delay': /^delay (\d+)$/,
|
'delay': /^delay (\d+)$/,
|
||||||
'clear': /^clear($|\s)/,
|
'clear': /^clear($|\s)/,
|
||||||
'exit level': /^exit level($|\s)/,
|
'exit level': /^exit level($|\s)/,
|
||||||
|
'sandbox': /^sandbox($|\s)/,
|
||||||
'level': /^level\s?([a-zA-Z0-9]*)/
|
'level': /^level\s?([a-zA-Z0-9]*)/
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -18958,7 +18960,8 @@ var Sandbox = Backbone.View.extend({
|
||||||
'delay': this.delay,
|
'delay': this.delay,
|
||||||
'clear': this.clear,
|
'clear': this.clear,
|
||||||
'exit level': this.exitLevel,
|
'exit level': this.exitLevel,
|
||||||
'level': this.startLevel
|
'level': this.startLevel,
|
||||||
|
'sandbox': this.exitLevel
|
||||||
};
|
};
|
||||||
var method = commandMap[command.get('method')];
|
var method = commandMap[command.get('method')];
|
||||||
if (!method) { throw new Error('no method for that wut'); }
|
if (!method) { throw new Error('no method for that wut'); }
|
||||||
|
@ -19061,6 +19064,7 @@ var regexMap = {
|
||||||
'delay': /^delay (\d+)$/,
|
'delay': /^delay (\d+)$/,
|
||||||
'clear': /^clear($|\s)/,
|
'clear': /^clear($|\s)/,
|
||||||
'exit level': /^exit level($|\s)/,
|
'exit level': /^exit level($|\s)/,
|
||||||
|
'sandbox': /^sandbox($|\s)/,
|
||||||
'level': /^level\s?([a-zA-Z0-9]*)/
|
'level': /^level\s?([a-zA-Z0-9]*)/
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -156,7 +156,8 @@ var Sandbox = Backbone.View.extend({
|
||||||
'delay': this.delay,
|
'delay': this.delay,
|
||||||
'clear': this.clear,
|
'clear': this.clear,
|
||||||
'exit level': this.exitLevel,
|
'exit level': this.exitLevel,
|
||||||
'level': this.startLevel
|
'level': this.startLevel,
|
||||||
|
'sandbox': this.exitLevel
|
||||||
};
|
};
|
||||||
var method = commandMap[command.get('method')];
|
var method = commandMap[command.get('method')];
|
||||||
if (!method) { throw new Error('no method for that wut'); }
|
if (!method) { throw new Error('no method for that wut'); }
|
||||||
|
|
|
@ -42,6 +42,7 @@ var regexMap = {
|
||||||
'delay': /^delay (\d+)$/,
|
'delay': /^delay (\d+)$/,
|
||||||
'clear': /^clear($|\s)/,
|
'clear': /^clear($|\s)/,
|
||||||
'exit level': /^exit level($|\s)/,
|
'exit level': /^exit level($|\s)/,
|
||||||
|
'sandbox': /^sandbox($|\s)/,
|
||||||
'level': /^level\s?([a-zA-Z0-9]*)/
|
'level': /^level\s?([a-zA-Z0-9]*)/
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
14
todo.txt
14
todo.txt
|
@ -1,20 +1,18 @@
|
||||||
Big things:
|
Big Things
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Big Graphic things:
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
[ ] levels dropdown selection?
|
[ ] levels dropdown selection?
|
||||||
[ ] git demonstration view
|
[ ] git demonstration view
|
||||||
|
[ ] level builder? :OOO
|
||||||
|
|
||||||
|
[ ] rebase bug... ugh
|
||||||
|
|
||||||
Medium things:
|
Medium things:
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Cases to handle / things to edit
|
Cases to handle / things to edit
|
||||||
=======================
|
=======================
|
||||||
[ ] "next level?" dialog after beating level
|
|
||||||
[ ] what if they just type "levels" ?
|
[ ] what if they just type "levels" ?
|
||||||
[ ] show level dropdown
|
[ ] show level dropdown
|
||||||
[ ] gotoSandbox command
|
|
||||||
|
|
||||||
Small things to implement:
|
Small things to implement:
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -28,12 +26,14 @@ Big Bugs to fix:
|
||||||
/*************************************
|
/*************************************
|
||||||
** Publish Things **
|
** Publish Things **
|
||||||
************************************/
|
************************************/
|
||||||
- cross browser support... ?
|
- cross browser support... firefox only.
|
||||||
- fix terminal input field in general
|
- fix terminal input field in general
|
||||||
|
|
||||||
Done things:
|
Done things:
|
||||||
(I only started this on Dec 17th 2012 to get a better sense of what was done)
|
(I only started this on Dec 17th 2012 to get a better sense of what was done)
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
[x] gotoSandbox command
|
||||||
|
[x] "next level?" dialog after beating level
|
||||||
[x] keyboard input for confirm / cancel
|
[x] keyboard input for confirm / cancel
|
||||||
[x] level arbiter (has everything by ID)
|
[x] level arbiter (has everything by ID)
|
||||||
[x] flip branches on the sides!! i wonder how to determine...
|
[x] flip branches on the sides!! i wonder how to determine...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue