feat(directives): move directive to be used in mobile to habitrpg-shared
This commit is contained in:
@@ -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];
|
||||
}
|
||||
}
|
||||
}])
|
||||
|
||||
Reference in New Issue
Block a user