Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
Remove unneeded variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mrajvanshy committed May 6, 2015
1 parent af74ee0 commit 23e3f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/filters/filters.filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ module.filter('rpfromnow', function() {
*
* Shows a ripple name for a given ripple address
*/
module.filter("rpripplename", ['$rootScope', '$http', 'rpId', function($scope, $http, id) {
module.filter("rpripplename", ['rpId', function(id) {
return function(address, options) {
var ripplename = id.resolveNameSync(address, options);
if (ripplename !== address) {
Expand All @@ -274,7 +274,7 @@ module.filter("rpripplename", ['$rootScope', '$http', 'rpId', function($scope, $
}
}]);

module.filter("rpripplenamefull", ['$rootScope', '$http', 'rpId', function($scope, $http, id) {
module.filter("rpripplenamefull", ['rpId', function(id) {
return function(address, options) {
var ripplename = id.resolveNameSync(address, options);
if (ripplename !== address) {
Expand Down

0 comments on commit 23e3f5c

Please sign in to comment.