mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-20 20:58:51 +00:00
feat(directives): move directive to be used in mobile to habitrpg-shared
This commit is contained in:
parent
45ab28269a
commit
4f0b4fd171
1 changed files with 0 additions and 11 deletions
|
|
@ -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];
|
||||
}
|
||||
}
|
||||
}])
|
||||
|
|
|
|||
Loading…
Reference in a new issue