Some general code cleanup.

This commit is contained in:
Michael
2013-10-10 20:49:19 -04:00
parent fbdc84dcf1
commit dde477aade
10 changed files with 75 additions and 79 deletions
+2 -2
View File
@@ -43,8 +43,8 @@ var Notifications = {
Engine.saveGame();
},
printMessage: function(text) {
var text = $('<div>').addClass('notification').css('opacity', '0').text(text).prependTo('div#notifications');
printMessage: function(t) {
var text = $('<div>').addClass('notification').css('opacity', '0').text(t).prependTo('div#notifications');
text.animate({opacity: 1}, 500, 'linear');
},