remove debug messages, clean up

This commit is contained in:
Juraj Michalek
2014-12-30 10:51:50 +00:00
parent 82b304eb2c
commit 28b5b66d07
5 changed files with 9 additions and 19 deletions

View File

@@ -103,20 +103,6 @@ angular.module('app', ['angular-flippy', 'level-selector', 'level-complete'])
$scope.currentLevel = $scope.levels[0];
$scope.languages = {
'cs-CZ': {
title: 'Čeština'
},
'en-US': {
title: 'English'
},
'sk-SK': {
title: 'Slovenčina'
}
};
$scope.cards = basicCards;
$scope.board = [];
@@ -277,7 +263,7 @@ angular.module('app', ['angular-flippy', 'level-selector', 'level-complete'])
if ($scope.areAllSelectedSame()) {
$scope.setSelectionState('solved');
if ($scope.isLevelComplete()) {
$timeout($scope.completeLevel, 1000);
$timeout($scope.completeLevel, 3000);
}
} else if ($scope.selectionCounter == $scope.chainLength) {
$timeout($scope.resetSelection, 1000);