Skip to content

Commit 92c957d

Browse files
committed
Merge branch 'master' into Thurs22.1
2 parents a9c8832 + ef95baa commit 92c957d

3 files changed

Lines changed: 7 additions & 11 deletions

File tree

src/components/home/homeCtrl.js

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,11 @@ angular.module('app').controller('homeCtrl', function($scope, $state, mainServic
2020
// the random kata is stored on $scope.randomKata.
2121
// If there is a button you can link the button to $scope.getRandomKata
2222

23-
$scope.init = () => {
24-
<<<<<<< HEAD
25-
// $scope.getUser();
26-
$scope.getRandomKata(mainService.user.id);
27-
=======
28-
$scope.getUser();
29-
30-
>>>>>>> master
31-
}
23+
$scope.getUser();
24+
25+
// $scope.init = () => {
26+
// $scope.getUser();
27+
28+
// }
3229

3330
});

src/components/mainService.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ angular.module('app').service('mainService', function($http, $q, $sce) {
151151
}
152152

153153
this.rankCalculator = (user) => {
154-
console.log(user);
155154
switch (true) {
156155
case user.points < 12:
157156
return user.kyu_level = 8;

src/components/solutions/solutionsCtrl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ angular.module('app').controller('solutionsCtrl', function($scope, $state, mainS
99
mainService.getKataById(kataid).then(response => {
1010
$scope.kataById = response.data;
1111
$scope.getKataSolutions($scope.kataid);
12-
console.log($scope.katabyId);
12+
console.log($scope.kataById);
1313
})
1414
}
1515

0 commit comments

Comments
 (0)