Skip to content

Commit

Permalink
Update doc & version
Browse files Browse the repository at this point in the history
  • Loading branch information
robisim74 committed Mar 29, 2017
1 parent 43674bb commit 90f626b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions doc/spec.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Angular localization library specification
Library version: 3.0.1
Library version: 3.0.2

## Table of contents
* [1 Library structure](#1)
Expand Down Expand Up @@ -482,7 +482,7 @@ Method | Function
`addConfiguration(): LocaleConfig;` | Configure the service in the application root module or bootstrap component
`init(): void;` | Call this method after the configuration to initialize the service
`getAvailableLanguages(): string[];` |
`getLanguageDirection(languageCode: string): string;` |
`getLanguageDirection(languageCode?: string): string;` |
`getCurrentLanguage(): string;` |
`getCurrentCountry(): string;` |
`getCurrentScript(): string;` |
Expand All @@ -509,7 +509,6 @@ Method | Function
`getLanguage(): string;` | The language of the translation service is updated when the translation data has been loaded
`translate(key: string, args?: any, lang?: string): string;` |
`translateAsync(key: string, args?: any, lang?: string): Observable<string>;` |
`addData(data: any, languageCode: string): void;` | Direct loading: adds other data to the translation at runtime

### <a name="8.3"/>8.3 LocaleValidation
Method | Function
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-l10n",
"version": "3.0.1",
"version": "3.0.2",
"description": "An Angular library to translate messages, dates and numbers",
"main": "./bundles/angular-l10n.umd.js",
"module": "./modules/angular-l10n.es5.js",
Expand Down

0 comments on commit 90f626b

Please sign in to comment.