Remove countPets and countMounts from codebase

This commit is contained in:
Blade Barringer
2015-07-20 08:11:00 -05:00
parent 610f7faa5c
commit 3d40da4004
7 changed files with 3 additions and 125 deletions

View File

@@ -3,8 +3,6 @@
habitrpg.controller("UserCtrl", ['$rootScope', '$scope', '$location', 'User', '$http', '$state', 'Guide', 'Shared', 'Content', 'Stats',
function($rootScope, $scope, $location, User, $http, $state, Guide, Shared, Content, Stats) {
$scope.profile = User.user;
$scope.profile.petCount = Shared.countPets($rootScope.countExists($scope.profile.items.pets), $scope.profile.items.pets);
$scope.profile.mountCount = Shared.countMounts($rootScope.countExists($scope.profile.items.mounts), $scope.profile.items.mounts);
$scope.statCalc = Stats;