Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
arneson committed Nov 23, 2014
2 parents 9184af7 + c682a63 commit fd914e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/controllers/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ app.controller('januController', ['$scope','$http','$interval', function ($scope
// start game
$scope.startGame = function () {
// reset all game variables
$scope.timeLeft = 15;
$scope.timelineSongs = [];
$scope.timelineYears = [];
$scope.currentSong = undefined;
Expand All @@ -27,7 +28,6 @@ app.controller('januController', ['$scope','$http','$interval', function ($scope
$scope.comboplyer = 1;
$scope.roundActive = false;


var loopImages = function(){

$('#combo-div').fadeIn(1500, function(){
Expand All @@ -38,6 +38,7 @@ app.controller('januController', ['$scope','$http','$interval', function ($scope
loopImages();

// this is the first song the user guesses
$("#song-details").hide();
firstSong = fetchNewSong();
$('#album-cover').addClass('no-blur');
playSong(firstSong);
Expand Down
2 changes: 1 addition & 1 deletion app/partials/game.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div id="song-details" class="hidden">
<h2 class="title">{{currentSong.name}}</h2>
<h2>{{currentSong.artist_name}}</h2>
<h2>{{currentSong.year}}</h2>
<h2><strong>{{currentSong.year}}</strong></h2>
</div>

<div id="game-content" ng-init="init()">
Expand Down
1 change: 1 addition & 0 deletions content/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ label {
text-align: center;
color: #f5f5f5;
font-size: 60px;
text-shadow: #202020 0px 0px 5px;
}

.question-and-timer {
Expand Down

0 comments on commit fd914e4

Please sign in to comment.