fixes silly error in next level dialog Issue #56

This commit is contained in:
Peter Cottle 2013-02-24 22:03:19 -08:00
parent 956d559697
commit 3523d28416
7 changed files with 14 additions and 6 deletions

View file

@ -92,4 +92,6 @@ Or reported an issue that was successfully closed!
* "flying-sheep" * "flying-sheep"
* "arianvp" * "arianvp"
* "MaPePeR" * "MaPePeR"
* Lutz ("mobilutz")
* Jan Philipp

View file

@ -10786,7 +10786,9 @@ var ConfirmCancelTerminal = Backbone.View.extend({
var NextLevelConfirm = ConfirmCancelTerminal.extend({ 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) ?
intl.getName(options.nextLevel) :
'';
var pluralNumCommands = (options.numCommands == 1) ? '' : 's'; var pluralNumCommands = (options.numCommands == 1) ? '' : 's';
var pluralBest = (options.best == 1) ? '' : 's'; var pluralBest = (options.best == 1) ? '' : 's';
@ -27118,7 +27120,9 @@ var ConfirmCancelTerminal = Backbone.View.extend({
var NextLevelConfirm = ConfirmCancelTerminal.extend({ 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) ?
intl.getName(options.nextLevel) :
'';
var pluralNumCommands = (options.numCommands == 1) ? '' : 's'; var pluralNumCommands = (options.numCommands == 1) ? '' : 's';
var pluralBest = (options.best == 1) ? '' : 's'; var pluralBest = (options.best == 1) ? '' : 's';

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
build/bundle.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -412,7 +412,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.4924ef88.js"></script> <script src="build/bundle.min.01944793.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

View file

@ -426,7 +426,9 @@ var ConfirmCancelTerminal = Backbone.View.extend({
var NextLevelConfirm = ConfirmCancelTerminal.extend({ 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) ?
intl.getName(options.nextLevel) :
'';
var pluralNumCommands = (options.numCommands == 1) ? '' : 's'; var pluralNumCommands = (options.numCommands == 1) ? '' : 's';
var pluralBest = (options.best == 1) ? '' : 's'; var pluralBest = (options.best == 1) ? '' : 's';