Skip to content

Commit

Permalink
feat(i18n.js) deprecated GLOBAL usage removed for global
Browse files Browse the repository at this point in the history
  • Loading branch information
rimiti committed Mar 18, 2019
1 parent ceedfd5 commit f06678c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ module.exports = (function() {
locale === undefined &&
typeof this.locale === 'string'
) {
if (register && register.GLOBAL) {
if (register && register.global) {
targetLocale = '';
} else {
targetLocale = this.locale;
Expand Down

0 comments on commit f06678c

Please sign in to comment.