Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
fix(humanReadableSize): replace service by a filter (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenautvh authored and antleblanc committed Jul 31, 2019
1 parent 4fc1187 commit 83d3a76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/humanReadableSize/humanReadableSize.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const moduleName = 'ua.humanReadableSize';

angular
.module(moduleName, [translate])
.service('humanReadableSize', humanReadableSizeFilter)
.filter('humanReadableSize', humanReadableSizeFilter)
.run(/* @ngTranslationsInject ./translations */);

export default moduleName;
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -787,11 +787,6 @@
rollup-pluginutils "^2.3.3"
slash "^2.0.0"

"@ovh-ux/ng-translate-async-loader@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@ovh-ux/ng-translate-async-loader/-/ng-translate-async-loader-2.0.0.tgz#df0d155c6c2e38b53704ff4ca9b419f0695a88bf"
integrity sha512-CmAT0/rTYN/Niwtuo1pcY+y46nqGCR2dO6+4twqGiRkqu/ksgklZ4weaqF9Xgl/KYLv+zcCmxZf0J1gfXs7kag==

"@ovh-ux/rollup-plugin-less-tilde-importer@^1.0.0-beta.0":
version "1.0.0-beta.0"
resolved "https://registry.yarnpkg.com/@ovh-ux/rollup-plugin-less-tilde-importer/-/rollup-plugin-less-tilde-importer-1.0.0-beta.0.tgz#eaf065c6e1fd039db0ddfb2f30955aec987e0c63"
Expand Down

0 comments on commit 83d3a76

Please sign in to comment.