Remove debug stuff
authorCameron Ball <cameron@getapproved.com.au>
Tue, 24 Feb 2015 01:34:12 +0000 (09:34 +0800)
committerCameron Ball <cameron@getapproved.com.au>
Tue, 24 Feb 2015 01:34:12 +0000 (09:34 +0800)
app/components/user/user-service.js
app/css/divinelegy.css
app/divinelegy.js
app/pages/profile/profile.js
app/pages/simfiles/simfiles.js

index 69addbe..7ff3947 100644 (file)
@@ -66,7 +66,6 @@ factory("UserService", ['$rootScope', 'rockEndpoint', '$http', '$q', 'HelloServi
     {
         var deferred = $q.defer();
         var token = HelloService.getAccessToken();
-
         $http({
             url: rockEndpoint + "user/" + facebookId,
             method: "POST",
index eb3ee64..b74bb06 100644 (file)
@@ -57,11 +57,6 @@ input[type="text"], select {
     padding: 5px 0px 5px 5px;
     width: 110px;
     border-radius: 4px;
-       /* Change how the dropdown arrow looks, it should be #FFF along with the text
-       
-       -webkit-appearance: none;
-       background: url("downArrow.png") no-repeat right #000;
-       */
 }
 
 select {
index 697bf46..aff6564 100644 (file)
@@ -49,14 +49,6 @@ config(['$routeProvider', '$locationProvider', function($routeProvider) {
         templateUrl: 'pages/packs/packs.html',
         controller: 'PackController'
     }).
-    when('/packs/test',
-    {
-        resolve: {
-            load: function () {
-                console.log("hello");
-            }
-        }
-    }).
     otherwise({redirectTo: '/'});
 }]).
 
index 7320442..bc0e14f 100644 (file)
@@ -8,7 +8,6 @@ angular.module("DivinElegy.pages.profile", ['DivinElegy.components.user'])
     
     UserService.getCurrentUser().then(function(user)
     {
-        console.log(user);
         $scope.country = user.country ? user.country : "NULL";
         $scope.displayName = user.displayName;
     });
@@ -22,13 +21,11 @@ angular.module("DivinElegy.pages.profile", ['DivinElegy.components.user'])
             update.country = $scope.country;
         } else {
             update.country = null;
-            console.log(update);
         }
         
         UserService.updateCurrentUser(update).
         then(function(result)
         {
-            console.log(result);
             if(result.status === 'success')
             {
                 $scope.hidden = false;
@@ -45,7 +42,7 @@ angular.module("DivinElegy.pages.profile", ['DivinElegy.components.user'])
         },
         function()
         {
-            console.log('uh oh the spagghetti');
+            //
         });
     };
     
index 79cb223..2a6aefe 100644 (file)
@@ -66,9 +66,6 @@ angular.module("DivinElegy.pages.simfiles", ["DivinElegy.components.simfiles","D
             for(var j=0; j<steps[i].length; j++)
             {
                 var chart = steps[i][j];
-                console.log($scope.modeFilterKeyword);
-                console.log(simfile.steps[$scope.modeFilterKeyword]);
-                console.log($scope.modeFilterKeyword === 'Any' || simfile.steps[$scope.modeFilterKeyword].length);
                 match = (!$scope.stepArtistFilterKeyword || stepArtistRe.test(chart.artist)) &&
                         (!$scope.ratingFilterKeyword || (!isNaN($scope.ratingFilterKeyword) && chart.rating === Number($scope.ratingFilterKeyword))) &&
                         ($scope.difficultyFilterKeyword === 'Any' || chart.difficulty === $scope.difficultyFilterKeyword) &&