Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove static methods for prior instance method setLang, remove default rumLogger #25

Merged
merged 1 commit into from
May 24, 2022

Conversation

dihar
Copy link
Contributor

@dihar dihar commented May 20, 2022

remove static methods for prior instance method setLang, remove default rumLogger

@dihar dihar requested review from ogonkov and tsufiev May 20, 2022 15:40
@DaffPunks
Copy link

approve

@dihar dihar force-pushed the feature/add-global-lang branch 3 times, most recently from a91dcfd to 86b6cf5 Compare May 24, 2022 12:30
src/index.ts Outdated
languageData = this.data[lang];
}
has(keysetName: string, key: string, lang?: string) {
const languageData = this.data[lang || this.lang];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Этот же паттерн ниже в i18n остался без изменений почему-то

Возможно стоит сделать (protected?) метод getLanguageData(lang: string)

@dihar dihar force-pushed the feature/add-global-lang branch 2 times, most recently from 24e8524 to 412167c Compare May 24, 2022 14:25
@dihar dihar requested a review from ogonkov May 24, 2022 14:25
@dihar dihar changed the title feat: add global data provider for several libraries in runtime feat: remove static methods for prior instance method setLang, remove default rumLogger May 24, 2022
@dihar dihar force-pushed the feature/add-global-lang branch 2 times, most recently from 895d0e8 to c2d14c6 Compare May 24, 2022 15:19
README.md Outdated Show resolved Hide resolved
@dihar dihar force-pushed the feature/add-global-lang branch 6 times, most recently from 8d14ee5 to f3ffefb Compare May 24, 2022 16:37
@dihar dihar force-pushed the feature/add-global-lang branch from f3ffefb to e8e7c32 Compare May 24, 2022 16:37
@dihar dihar requested a review from ogonkov May 24, 2022 16:41
@dihar dihar merged commit 9a07c54 into main May 24, 2022
@dihar dihar deleted the feature/add-global-lang branch May 24, 2022 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants