feat(directives): move directive to be used in mobile to habitrpg-shared

This commit is contained in:
Matteo Pagliazzi 2014-07-12 15:53:47 +02:00
parent 45ab28269a
commit 4f0b4fd171

View file

@ -120,14 +120,3 @@ habitrpg.directive('fromNow', ['$interval', function($interval){
});
}
}]);
habitrpg.directive('questRewards', ['$rootScope', function($rootScope){
return {
restrict: 'AE',
templateUrl: 'partials/options.social.party.quest-rewards.html',
link: function(scope, element, attrs){
scope.header = attrs.header || 'Rewards';
scope.quest = $rootScope.Content.quests[attrs.key];
}
}
}])