[common] depends moved for LocalStorage

This commit is contained in:
Maxim Kadushkin 2016-11-21 16:17:59 +03:00
parent 12ca6e79ab
commit 2461b1d7b6
2 changed files with 67 additions and 64 deletions

View file

@ -38,7 +38,8 @@
*
*/
Common.localStorage = new (function() {
define(['gateway'], function () {
Common.localStorage = new (function() {
var _storeName, _filter;
var _store = {};
@ -105,4 +106,5 @@ Common.localStorage = new (function() {
sync: _refresh,
save: _save
};
})();
})();
});

View file

@ -49,6 +49,7 @@ define([
'common/main/lib/controller/Fonts',
'common/main/lib/collection/TextArt',
'common/main/lib/view/OpenDialog',
'common/main/lib/util/LocalStorage',
'documenteditor/main/app/collection/ShapeGroups',
'documenteditor/main/app/collection/EquationGroups'
], function () {