{
var deferred = $q.defer();
var token = HelloService.getAccessToken();
-
$http({
url: rockEndpoint + "user/" + facebookId,
method: "POST",
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 {
templateUrl: 'pages/packs/packs.html',
controller: 'PackController'
}).
- when('/packs/test',
- {
- resolve: {
- load: function () {
- console.log("hello");
- }
- }
- }).
otherwise({redirectTo: '/'});
}]).
UserService.getCurrentUser().then(function(user)
{
- console.log(user);
$scope.country = user.country ? user.country : "NULL";
$scope.displayName = user.displayName;
});
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;
},
function()
{
- console.log('uh oh the spagghetti');
+ //
});
};
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) &&