Add semicolons
This commit is contained in:
@@ -16,7 +16,7 @@ habitrpg.controller("UserCtrl", ['$rootScope', '$scope', '$location', 'User', '$
|
||||
if(value === true) $scope.editingProfile = angular.copy(User.user.profile);
|
||||
});
|
||||
|
||||
$scope.formatAnimal = Pets.formatAnimal;
|
||||
$scope.formatAnimal = Costume.formatAnimal;
|
||||
|
||||
$scope.allocate = function(stat){
|
||||
User.allocate({query:{stat:stat}});
|
||||
|
||||
@@ -26,14 +26,14 @@
|
||||
potion: Content.hatchingPotions[info.potion].text()
|
||||
};
|
||||
animal[type == 'pet' ? 'egg' : 'mount'] = Content.eggs[info.egg].text()
|
||||
return window.env.t(type+'Name', animal)
|
||||
return window.env.t(type+'Name', animal);
|
||||
} else {
|
||||
return type == 'pet' ? window.env.t(Content.specialPets[name]) : window.env.t(Content.specialMounts[name])
|
||||
return type == 'pet' ? window.env.t(Content.specialPets[name]) : window.env.t(Content.specialMounts[name]);
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
formatAnimal: formatAnimal
|
||||
}
|
||||
};
|
||||
}
|
||||
}());
|
||||
Reference in New Issue
Block a user