This commit is contained in:
Peter Cottle 2013-02-16 12:51:09 -08:00
parent 2a7b2583c6
commit e54b301007
4 changed files with 136 additions and 7 deletions

View file

@ -6569,6 +6569,16 @@ var init = function() {
"help; levels"
].join(''));
});
} else {
sandbox.mainVis.customEvents.on('gitEngineReady', function() {
eventBaton.trigger(
'commandSubmitted',
[
"git help;",
"delay 3000;",
"help"
].join(''));
});
}
if (/command=/.test(window.location.href)) {
var commandRaw = window.location.href.split('command=')[1].split('&')[0];
@ -18293,7 +18303,13 @@ require.define("/src/js/dialogs/sandbox.js",function(require,module,exports,__di
'the powerful concepts behind branching when working ',
'with git. We hope you enjoy this application and maybe ',
'even learn something!',
''
'',
'# Attention HN!!',
'',
'Unfortunately this was submitted before I finished all the help ',
'and tutorial sections, so forgive the scarcity. See the demo here:',
'',
'[http://pcottle.github.com/learnGitBranching/?demo](http://pcottle.github.com/learnGitBranching/?demo)'
]
}
}, {
@ -18308,8 +18324,34 @@ require.define("/src/js/dialogs/sandbox.js",function(require,module,exports,__di
' * git commands (to interact with git)',
' * level commands (to get level hints or solutions)',
' * sandbox commands (like this one)',
''
]
}
}, {
type: 'ModalAlert',
options: {
markdowns: [
'## Levels',
'',
'# This dialog is NOT FINISHED TODO'
'The best way to learn is with levels. Type in "levels" to get started!'
]
}
}, {
type: 'ModalAlert',
options: {
markdowns: [
'## Git commands',
'',
'You have a large variety of git commands available in sandbox mode. These include',
'',
' * commit',
' * branch',
' * checkout',
' * cherry-pick',
' * reset',
' * revert',
' * rebase',
' * merge'
]
}
}];
@ -18567,6 +18609,16 @@ var init = function() {
"help; levels"
].join(''));
});
} else {
sandbox.mainVis.customEvents.on('gitEngineReady', function() {
eventBaton.trigger(
'commandSubmitted',
[
"git help;",
"delay 3000;",
"help"
].join(''));
});
}
if (/command=/.test(window.location.href)) {
var commandRaw = window.location.href.split('command=')[1].split('&')[0];
@ -18674,7 +18726,13 @@ require.define("/src/js/dialogs/sandbox.js",function(require,module,exports,__di
'the powerful concepts behind branching when working ',
'with git. We hope you enjoy this application and maybe ',
'even learn something!',
''
'',
'# Attention HN!!',
'',
'Unfortunately this was submitted before I finished all the help ',
'and tutorial sections, so forgive the scarcity. See the demo here:',
'',
'[http://pcottle.github.com/learnGitBranching/?demo](http://pcottle.github.com/learnGitBranching/?demo)'
]
}
}, {
@ -18689,8 +18747,34 @@ require.define("/src/js/dialogs/sandbox.js",function(require,module,exports,__di
' * git commands (to interact with git)',
' * level commands (to get level hints or solutions)',
' * sandbox commands (like this one)',
''
]
}
}, {
type: 'ModalAlert',
options: {
markdowns: [
'## Levels',
'',
'# This dialog is NOT FINISHED TODO'
'The best way to learn is with levels. Type in "levels" to get started!'
]
}
}, {
type: 'ModalAlert',
options: {
markdowns: [
'## Git commands',
'',
'You have a large variety of git commands available in sandbox mode. These include',
'',
' * commit',
' * branch',
' * checkout',
' * cherry-pick',
' * reset',
' * revert',
' * rebase',
' * merge'
]
}
}];