mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-20 21:35:42 +02:00
rebuild for pull #38 @josso
This commit is contained in:
parent
a794ee43a3
commit
e94710ca64
6 changed files with 12 additions and 7 deletions
|
@ -61,6 +61,7 @@ Also huge shoutout for everyone who has put up a pull request that was pulled:
|
||||||
* Adam Brodzinski
|
* Adam Brodzinski
|
||||||
* Hamish Macpherson
|
* Hamish Macpherson
|
||||||
* Cameron Wills
|
* Cameron Wills
|
||||||
|
* Johan ("josso")
|
||||||
|
|
||||||
Or reported an issue that was successfully closed!
|
Or reported an issue that was successfully closed!
|
||||||
|
|
||||||
|
|
|
@ -10422,11 +10422,13 @@ var NextLevelConfirm = ConfirmCancelTerminal.extend({
|
||||||
initialize: function(options) {
|
initialize: function(options) {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
var nextLevelName = (options.nextLevel) ? options.nextLevel.name : '';
|
var nextLevelName = (options.nextLevel) ? options.nextLevel.name : '';
|
||||||
|
var pluralNumCommands = (options.numCommands == 1) ? '' : 's';
|
||||||
|
var pluralBest = (options.best == 1) ? '' : 's';
|
||||||
|
|
||||||
var markdowns = [
|
var markdowns = [
|
||||||
'## Great Job!!',
|
'## Great Job!!',
|
||||||
'',
|
'',
|
||||||
'You solved the level in **' + options.numCommands + '** command(s); ',
|
'You solved the level in **' + options.numCommands + '** command' + pluralNumCommands + '; ',
|
||||||
'our solution uses ' + options.best + '. '
|
'our solution uses ' + options.best + '. '
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -10436,7 +10438,7 @@ var NextLevelConfirm = ConfirmCancelTerminal.extend({
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
markdowns.push(
|
markdowns.push(
|
||||||
'See if you can whittle it down to ' + options.best + ' command(s) :D '
|
'See if you can whittle it down to ' + options.best + ' command' + pluralBest + ' :D '
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25107,11 +25109,13 @@ var NextLevelConfirm = ConfirmCancelTerminal.extend({
|
||||||
initialize: function(options) {
|
initialize: function(options) {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
var nextLevelName = (options.nextLevel) ? options.nextLevel.name : '';
|
var nextLevelName = (options.nextLevel) ? options.nextLevel.name : '';
|
||||||
|
var pluralNumCommands = (options.numCommands == 1) ? '' : 's';
|
||||||
|
var pluralBest = (options.best == 1) ? '' : 's';
|
||||||
|
|
||||||
var markdowns = [
|
var markdowns = [
|
||||||
'## Great Job!!',
|
'## Great Job!!',
|
||||||
'',
|
'',
|
||||||
'You solved the level in **' + options.numCommands + '** command(s); ',
|
'You solved the level in **' + options.numCommands + '** command' + pluralNumCommands + '; ',
|
||||||
'our solution uses ' + options.best + '. '
|
'our solution uses ' + options.best + '. '
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -25121,7 +25125,7 @@ var NextLevelConfirm = ConfirmCancelTerminal.extend({
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
markdowns.push(
|
markdowns.push(
|
||||||
'See if you can whittle it down to ' + options.best + ' command(s) :D '
|
'See if you can whittle it down to ' + options.best + ' command' + pluralBest + ' :D '
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
1
build/bundle.min.20261aa4.js
Normal file
1
build/bundle.min.20261aa4.js
Normal file
File diff suppressed because one or more lines are too long
2
build/bundle.min.js
vendored
2
build/bundle.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -409,7 +409,7 @@
|
||||||
For a much easier time perusing the source, see the individual files at:
|
For a much easier time perusing the source, see the individual files at:
|
||||||
https://github.com/pcottle/learnGitBranching
|
https://github.com/pcottle/learnGitBranching
|
||||||
-->
|
-->
|
||||||
<script src="build/bundle.min.0a3d07d9.js"></script>
|
<script src="build/bundle.min.20261aa4.js"></script>
|
||||||
|
|
||||||
<!-- The advantage of github pages: super-easy, simple, slick static hostic.
|
<!-- The advantage of github pages: super-easy, simple, slick static hostic.
|
||||||
The downside? No raw logs to parse for analytics, so I have to include
|
The downside? No raw logs to parse for analytics, so I have to include
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue