ok demo nice

This commit is contained in:
Peter Cottle 2013-01-12 23:26:59 -08:00
parent 22605249ce
commit 4c837f7d92
4 changed files with 30 additions and 18 deletions

View file

@ -6457,10 +6457,12 @@ var init = function() {
eventBaton.trigger( eventBaton.trigger(
'commandSubmitted', 'commandSubmitted',
[ [
"gc; git checkout HEAD~1; git commit; git checkout -b bugFix; gc;", "git commit; git checkout -b bugFix C1; git commit; git merge master; git checkout master; git commit; git rebase bugFix;",
"git rebase -i HEAD~3; git rebase master; git checkout master; gc;", "delay 1000; reset;",
"git merge bugFix; levels --noOutput; level rebase1 --noFinishDialog --noStartCommand;", "level rebase1 --noFinishDialog --noStartCommand --noIntroDialog;",
"show goal; delay 1000; hide goal; show solution --force --noReset;", "delay 2000; show goal; delay 1000; hide goal;",
"git checkout bugFix; git rebase master; git checkout side; git rebase bugFix;",
"git checkout another; git rebase side; git rebase another master;",
"help; levels" "help; levels"
].join('')); ].join(''));
}); });
@ -6588,7 +6590,7 @@ var Level = Sandbox.extend({
// if there is a multiview in the beginning, open that // if there is a multiview in the beginning, open that
// and let it resolve our deferred // and let it resolve our deferred
if (this.level.startDialog) { if (this.level.startDialog && !this.testOption('noIntroDialog')) {
new MultiView(_.extend( new MultiView(_.extend(
{}, {},
this.level.startDialog, this.level.startDialog,
@ -18151,7 +18153,9 @@ require.define("/src/js/dialogs/sandbox.js",function(require,module,exports,__di
'', '',
' * git commands (to interact with git)', ' * git commands (to interact with git)',
' * level commands (to get level hints or solutions)', ' * level commands (to get level hints or solutions)',
' * sandbox commands (like this one)' ' * sandbox commands (like this one)',
'',
'# This dialog is NOT FINISHED **TODO**'
] ]
} }
}]; }];
@ -18353,10 +18357,12 @@ var init = function() {
eventBaton.trigger( eventBaton.trigger(
'commandSubmitted', 'commandSubmitted',
[ [
"gc; git checkout HEAD~1; git commit; git checkout -b bugFix; gc;", "git commit; git checkout -b bugFix C1; git commit; git merge master; git checkout master; git commit; git rebase bugFix;",
"git rebase -i HEAD~3; git rebase master; git checkout master; gc;", "delay 1000; reset;",
"git merge bugFix; levels --noOutput; level rebase1 --noFinishDialog --noStartCommand;", "level rebase1 --noFinishDialog --noStartCommand --noIntroDialog;",
"show goal; delay 1000; hide goal; show solution --force --noReset;", "delay 2000; show goal; delay 1000; hide goal;",
"git checkout bugFix; git rebase master; git checkout side; git rebase bugFix;",
"git checkout another; git rebase side; git rebase another master;",
"help; levels" "help; levels"
].join('')); ].join(''));
}); });
@ -18471,7 +18477,9 @@ require.define("/src/js/dialogs/sandbox.js",function(require,module,exports,__di
'', '',
' * git commands (to interact with git)', ' * git commands (to interact with git)',
' * level commands (to get level hints or solutions)', ' * level commands (to get level hints or solutions)',
' * sandbox commands (like this one)' ' * sandbox commands (like this one)',
'',
'# This dialog is NOT FINISHED **TODO**'
] ]
} }
}]; }];
@ -21306,7 +21314,7 @@ var Level = Sandbox.extend({
// if there is a multiview in the beginning, open that // if there is a multiview in the beginning, open that
// and let it resolve our deferred // and let it resolve our deferred
if (this.level.startDialog) { if (this.level.startDialog && !this.testOption('noIntroDialog')) {
new MultiView(_.extend( new MultiView(_.extend(
{}, {},
this.level.startDialog, this.level.startDialog,

View file

@ -122,10 +122,12 @@ var init = function() {
eventBaton.trigger( eventBaton.trigger(
'commandSubmitted', 'commandSubmitted',
[ [
"gc; git checkout HEAD~1; git commit; git checkout -b bugFix; gc;", "git commit; git checkout -b bugFix C1; git commit; git merge master; git checkout master; git commit; git rebase bugFix;",
"git rebase -i HEAD~3; git rebase master; git checkout master; gc;", "delay 1000; reset;",
"git merge bugFix; levels --noOutput; level rebase1 --noFinishDialog --noStartCommand;", "level rebase1 --noFinishDialog --noStartCommand --noIntroDialog;",
"show goal; delay 1000; hide goal; show solution --force --noReset;", "delay 2000; show goal; delay 1000; hide goal;",
"git checkout bugFix; git rebase master; git checkout side; git rebase bugFix;",
"git checkout another; git rebase side; git rebase another master;",
"help; levels" "help; levels"
].join('')); ].join(''));
}); });

View file

@ -22,7 +22,9 @@ exports.dialog = [{
'', '',
' * git commands (to interact with git)', ' * git commands (to interact with git)',
' * level commands (to get level hints or solutions)', ' * level commands (to get level hints or solutions)',
' * sandbox commands (like this one)' ' * sandbox commands (like this one)',
'',
'# This dialog is NOT FINISHED **TODO**'
] ]
} }
}]; }];

View file

@ -59,7 +59,7 @@ var Level = Sandbox.extend({
// if there is a multiview in the beginning, open that // if there is a multiview in the beginning, open that
// and let it resolve our deferred // and let it resolve our deferred
if (this.level.startDialog) { if (this.level.startDialog && !this.testOption('noIntroDialog')) {
new MultiView(_.extend( new MultiView(_.extend(
{}, {},
this.level.startDialog, this.level.startDialog,