feat(Armoire): WIP

This commit is contained in:
Sabe Jones
2015-05-26 16:06:04 -05:00
parent 399ff8c00b
commit c90f7e2c34
57 changed files with 8501 additions and 8175 deletions

View File

@@ -101,10 +101,10 @@ habitrpg.controller('NotificationCtrl',
}
});
$rootScope.$watch('user.achievements.ultimateGear', function(after, before){
if (after === before || after !== true) return;
$rootScope.$watch('user.achievements.ultimateGearSets', function(after, before){
if (_.isEqual(after,before) || !_.contains(User.user.achievements.ultimateGearSets, true)) return;
$rootScope.openModal('achievements/ultimateGear');
});
}, true);
$rootScope.$watch('user.achievements.rebirths', function(after, before){
if(after === before) return;