Add semicolons

This commit is contained in:
MathWhiz
2016-07-22 15:57:21 -04:00
parent f558955d58
commit bf8ec2596f
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
}
};
}
}());