Skip to content

Commit

Permalink
fix(doc): inject RelativeTime
Browse files Browse the repository at this point in the history
  • Loading branch information
atsu85 authored Sep 18, 2016
1 parent fa8f1c0 commit 8cb0bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ To use it via code get hold of the service via injection and call the method as
import {RelativeTime} from 'aurelia-i18n';
export class MyDemoVM {
static inject = [I18N];
static inject = [RelativeTime];
constructor(relativeTime) {
this.rt = relativeTime;
Expand Down

0 comments on commit 8cb0bff

Please sign in to comment.