mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 07:58:34 +02:00
hn crap
This commit is contained in:
parent
2a7b2583c6
commit
e54b301007
4 changed files with 136 additions and 7 deletions
|
@ -6569,6 +6569,16 @@ var init = function() {
|
||||||
"help; levels"
|
"help; levels"
|
||||||
].join(''));
|
].join(''));
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
sandbox.mainVis.customEvents.on('gitEngineReady', function() {
|
||||||
|
eventBaton.trigger(
|
||||||
|
'commandSubmitted',
|
||||||
|
[
|
||||||
|
"git help;",
|
||||||
|
"delay 3000;",
|
||||||
|
"help"
|
||||||
|
].join(''));
|
||||||
|
});
|
||||||
}
|
}
|
||||||
if (/command=/.test(window.location.href)) {
|
if (/command=/.test(window.location.href)) {
|
||||||
var commandRaw = window.location.href.split('command=')[1].split('&')[0];
|
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 ',
|
'the powerful concepts behind branching when working ',
|
||||||
'with git. We hope you enjoy this application and maybe ',
|
'with git. We hope you enjoy this application and maybe ',
|
||||||
'even learn something!',
|
'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)',
|
' * 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)',
|
||||||
|
''
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
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"
|
"help; levels"
|
||||||
].join(''));
|
].join(''));
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
sandbox.mainVis.customEvents.on('gitEngineReady', function() {
|
||||||
|
eventBaton.trigger(
|
||||||
|
'commandSubmitted',
|
||||||
|
[
|
||||||
|
"git help;",
|
||||||
|
"delay 3000;",
|
||||||
|
"help"
|
||||||
|
].join(''));
|
||||||
|
});
|
||||||
}
|
}
|
||||||
if (/command=/.test(window.location.href)) {
|
if (/command=/.test(window.location.href)) {
|
||||||
var commandRaw = window.location.href.split('command=')[1].split('&')[0];
|
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 ',
|
'the powerful concepts behind branching when working ',
|
||||||
'with git. We hope you enjoy this application and maybe ',
|
'with git. We hope you enjoy this application and maybe ',
|
||||||
'even learn something!',
|
'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)',
|
' * 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)',
|
||||||
|
''
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
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'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}];
|
}];
|
||||||
|
|
|
@ -66,7 +66,10 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a href="https://github.com/pcottle/learnGitBranching" target="_blank"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
|
<!-- lol inline styles -->
|
||||||
|
<a href="https://github.com/pcottle/learnGitBranching" target="_blank" style="z-index: 99; position: fixed; top: 0; right: 0">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub">
|
||||||
|
</a>
|
||||||
|
|
||||||
<!-- Dependencies -->
|
<!-- Dependencies -->
|
||||||
<script src="lib/jquery-1.8.0.min.js"></script>
|
<script src="lib/jquery-1.8.0.min.js"></script>
|
||||||
|
|
|
@ -131,6 +131,16 @@ var init = function() {
|
||||||
"help; levels"
|
"help; levels"
|
||||||
].join(''));
|
].join(''));
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
sandbox.mainVis.customEvents.on('gitEngineReady', function() {
|
||||||
|
eventBaton.trigger(
|
||||||
|
'commandSubmitted',
|
||||||
|
[
|
||||||
|
"git help;",
|
||||||
|
"delay 3000;",
|
||||||
|
"help"
|
||||||
|
].join(''));
|
||||||
|
});
|
||||||
}
|
}
|
||||||
if (/command=/.test(window.location.href)) {
|
if (/command=/.test(window.location.href)) {
|
||||||
var commandRaw = window.location.href.split('command=')[1].split('&')[0];
|
var commandRaw = window.location.href.split('command=')[1].split('&')[0];
|
||||||
|
|
|
@ -8,7 +8,13 @@ exports.dialog = [{
|
||||||
'the powerful concepts behind branching when working ',
|
'the powerful concepts behind branching when working ',
|
||||||
'with git. We hope you enjoy this application and maybe ',
|
'with git. We hope you enjoy this application and maybe ',
|
||||||
'even learn something!',
|
'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)'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
@ -23,8 +29,34 @@ 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)',
|
||||||
|
''
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
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'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}];
|
}];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue