This commit is contained in:
Peter Cottle 2013-01-06 00:31:23 -08:00
parent a5c0480962
commit 9a20589fd7
4 changed files with 16 additions and 10 deletions

View file

@ -4624,7 +4624,8 @@ var Sandbox = Backbone.View.extend({
'delay': this.delay,
'clear': this.clear,
'exit level': this.exitLevel,
'level': this.startLevel
'level': this.startLevel,
'sandbox': this.exitLevel
};
var method = commandMap[command.get('method')];
if (!method) { throw new Error('no method for that wut'); }
@ -12753,6 +12754,7 @@ var regexMap = {
'delay': /^delay (\d+)$/,
'clear': /^clear($|\s)/,
'exit level': /^exit level($|\s)/,
'sandbox': /^sandbox($|\s)/,
'level': /^level\s?([a-zA-Z0-9]*)/
};
@ -18958,7 +18960,8 @@ var Sandbox = Backbone.View.extend({
'delay': this.delay,
'clear': this.clear,
'exit level': this.exitLevel,
'level': this.startLevel
'level': this.startLevel,
'sandbox': this.exitLevel
};
var method = commandMap[command.get('method')];
if (!method) { throw new Error('no method for that wut'); }
@ -19061,6 +19064,7 @@ var regexMap = {
'delay': /^delay (\d+)$/,
'clear': /^clear($|\s)/,
'exit level': /^exit level($|\s)/,
'sandbox': /^sandbox($|\s)/,
'level': /^level\s?([a-zA-Z0-9]*)/
};

View file

@ -156,7 +156,8 @@ var Sandbox = Backbone.View.extend({
'delay': this.delay,
'clear': this.clear,
'exit level': this.exitLevel,
'level': this.startLevel
'level': this.startLevel,
'sandbox': this.exitLevel
};
var method = commandMap[command.get('method')];
if (!method) { throw new Error('no method for that wut'); }

View file

@ -42,6 +42,7 @@ var regexMap = {
'delay': /^delay (\d+)$/,
'clear': /^clear($|\s)/,
'exit level': /^exit level($|\s)/,
'sandbox': /^sandbox($|\s)/,
'level': /^level\s?([a-zA-Z0-9]*)/
};

View file

@ -1,20 +1,18 @@
Big things:
~~~~~~~~~~~~~~~~~~~~~~~~
Big Graphic things:
Big Things
~~~~~~~~~~~~~~~~~~~~~~~~~
[ ] levels dropdown selection?
[ ] git demonstration view
[ ] level builder? :OOO
[ ] rebase bug... ugh
Medium things:
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cases to handle / things to edit
=======================
[ ] "next level?" dialog after beating level
[ ] what if they just type "levels" ?
[ ] show level dropdown
[ ] gotoSandbox command
Small things to implement:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -28,12 +26,14 @@ Big Bugs to fix:
/*************************************
** Publish Things **
************************************/
- cross browser support... ?
- cross browser support... firefox only.
- fix terminal input field in general
Done things:
(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] level arbiter (has everything by ID)
[x] flip branches on the sides!! i wonder how to determine...