Skip to content

Commit

Permalink
Getter for i18n defaultLocale
Browse files Browse the repository at this point in the history
  • Loading branch information
mde committed Aug 5, 2012
1 parent 9c1249c commit 999ca02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/i18n.js
Expand Up @@ -34,6 +34,10 @@ i18n = new (function () {
return str;
};

this.getDefaultLocale = function (locale) {
return _defaultLocale;
};

this.setDefaultLocale = function (locale) {
_defaultLocale = locale;
};
Expand Down

0 comments on commit 999ca02

Please sign in to comment.