From 4f0b4fd171d32c3c4f0b1ece43e8f43ecb80eb9a Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Sat, 12 Jul 2014 15:53:47 +0200 Subject: [PATCH] feat(directives): move directive to be used in mobile to habitrpg-shared --- public/js/directives/directives.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/public/js/directives/directives.js b/public/js/directives/directives.js index 7a8e9d71fd..0f5f9756c0 100644 --- a/public/js/directives/directives.js +++ b/public/js/directives/directives.js @@ -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]; - } - } -}])