Skip to content

Commit

Permalink
#146 - Remove Http dependency from the TranslateService class
Browse files Browse the repository at this point in the history
  • Loading branch information
yoava committed Jun 19, 2016
1 parent c0df9b1 commit 85060d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/translate.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class TranslateService {
* @param currentLoader An instance of the loader currently used
* @param missingTranslationHandler A handler for missing translations.
*/
constructor(private http: Http, public currentLoader: TranslateLoader, @Optional() private missingTranslationHandler: MissingTranslationHandler) {}
constructor(public currentLoader: TranslateLoader, @Optional() private missingTranslationHandler: MissingTranslationHandler) {}

/**
* Sets the default language to use as a fallback
Expand Down

0 comments on commit 85060d5

Please sign in to comment.