[common] changed LanguageInfo object to use in mobile apps

This commit is contained in:
Maxim Kadushkin 2021-02-25 00:00:53 +03:00
parent 935b7c7d57
commit 1169d081fb
2 changed files with 4 additions and 2 deletions

View file

@ -38,10 +38,11 @@
*
*/
if (Common === undefined) {
var Common = {};
if ( window.Common === undefined ) {
window.Common = {};
}
// TODO: move to Common.Utils
Common.util = Common.util||{};
Common.util.LanguageInfo = new(function() {

View file

@ -8,6 +8,7 @@ import { f7ready } from 'framework7-react';
import routes from '../router/routes.js';
import '../../../../common/main/lib/util/utils.js';
import '../../../../common/main/lib/util/LanguageInfo.js';
import Notifications from '../../../../common/mobile/utils/notifications.js'
import {MainController} from '../controller/Main';
import {Device} from '../../../../common/mobile/utils/device'