From 674d44f6a86ddd3e1ff4877916277bf2d0eac285 Mon Sep 17 00:00:00 2001 From: Travis Weston Date: Sun, 13 Jul 2014 11:24:44 -0400 Subject: [PATCH] Fixing whitespace conformity in space.js --- script/space.js | 65 ++++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 33 deletions(-) diff --git a/script/space.js b/script/space.js index efd9afb..7cb8ffd 100644 --- a/script/space.js +++ b/script/space.js @@ -409,39 +409,38 @@ var Space = { }, complete: function() { Engine.GAME_OVER = true; - - Score.save(); - Prestige.save(); - - $('
') - .addClass('centerCont') - .appendTo('body'); - $('') - .addClass('endGame') - .text(_('score for this game: {0}', Score.calculateScore())) - .appendTo('.centerCont') - .animate({opacity:1},1500); - $('
') - .appendTo('.centerCont'); - $('') - .addClass('endGame') - .text(_('total score: {0}', Prestige.get().score)) - .appendTo('.centerCont') - .animate({opacity:1},1500); - $('
') - .appendTo('.centerCont'); - $('
') - .appendTo('.centerCont'); - $('#starsContainer').remove(); - $('#content, #notifications').remove(); - $('') - .addClass('endGame endGameRestart') - .text(_('restart.')) - .click(Engine.confirmDelete) - .appendTo('.centerCont') - .animate({opacity:1},1500); - Engine.options = {}; - Engine.deleteSave(true); + Score.save(); + Prestige.save(); + + $('
') + .addClass('centerCont') + .appendTo('body'); + $('') + .addClass('endGame') + .text(_('score for this game: {0}', Score.calculateScore())) + .appendTo('.centerCont') + .animate({opacity:1},1500); + $('
') + .appendTo('.centerCont'); + $('') + .addClass('endGame') + .text(_('total score: {0}', Prestige.get().score)) + .appendTo('.centerCont') + .animate({opacity:1},1500); + $('
') + .appendTo('.centerCont'); + $('
') + .appendTo('.centerCont'); + $('#starsContainer').remove(); + $('#content, #notifications').remove(); + $('') + .addClass('endGame endGameRestart') + .text(_('restart.')) + .click(Engine.confirmDelete) + .appendTo('.centerCont') + .animate({opacity:1},1500); + Engine.options = {}; + Engine.deleteSave(true); } }); }, 2000);