Permalink
Browse files

problems with scope fixed

  • Loading branch information...
1 parent 1f5f44e commit 68ce179cbd8a2426dfdeaffb1971c6783a858bd5 @johndyer johndyer committed Jun 1, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/js/me-i18n.js
View
@@ -58,7 +58,7 @@
* @see: i18n.methods.t()
*/
i18n.locale.getLanguage = function () {
- return mejs.locale || {
+ return i18n.locale || {
"language" : navigator.language
};
};
@@ -197,8 +197,8 @@
"use strict";
- if ( mejs.locale.language && mejs.locale.strings ) {
- exports[mejs.locale.language] = mejs.locale.strings;
+ if ( mejs.i18n.locale.language && mejs.i18n.locale.strings ) {
+ exports[mejs.i18n.locale.language] = mejs.i18n.locale.strings;
}
}(mejs.i18n.locale.strings));

0 comments on commit 68ce179

Please sign in to comment.