Commit 3bae8df0 authored by Boris Kocherov's avatar Boris Kocherov

fix requirejs module dependencies

parent 71f6c992
......@@ -44,7 +44,8 @@ if (Common === undefined)
var FONT_TYPE_RECENT = 4;
define([
'common/main/lib/component/ComboBox'
'common/main/lib/component/ComboBox',
'sdk'
], function () {
'use strict';
......
......@@ -45,7 +45,8 @@ define([
'core',
'common/main/lib/view/Header',
'documenteditor/main/app/view/Viewport',
'documenteditor/main/app/view/LeftMenu'
'documenteditor/main/app/view/LeftMenu',
'sdk'
], function (Viewport) {
'use strict';
......
......@@ -43,7 +43,8 @@
define([
'text!documenteditor/main/app/template/FileMenu.template',
'underscore',
'common/main/lib/component/BaseView'
'common/main/lib/component/BaseView',
'documenteditor/main/app/view/FileMenuPanels'
], function (tpl, _) {
'use strict';
......
......@@ -41,7 +41,8 @@
*/
define([
'common/main/lib/view/DocumentAccessDialog'
'common/main/lib/view/DocumentAccessDialog',
'sdk'
], function () {
'use strict';
......
......@@ -47,6 +47,7 @@ define([
'common/main/lib/component/LoadMask',
'common/main/lib/component/Tooltip',
'common/main/lib/controller/Fonts',
'common/main/lib/controller/Plugins',
'common/main/lib/collection/TextArt',
'common/main/lib/view/OpenDialog',
'common/main/lib/util/LocalStorage',
......
......@@ -44,7 +44,8 @@ define([
'core',
'common/main/lib/view/Header',
'presentationeditor/main/app/view/DocumentPreview',
'presentationeditor/main/app/view/Viewport'
'presentationeditor/main/app/view/Viewport',
'sdk'
// 'documenteditor/main/app/view/LeftMenu'
], function (Viewport) {
'use strict';
......
......@@ -43,7 +43,8 @@
define([
'text!presentationeditor/main/app/template/FileMenu.template',
'underscore',
'common/main/lib/component/BaseView'
'common/main/lib/component/BaseView',
'presentationeditor/main/app/view/FileMenuPanels'
], function (tpl, _) {
'use strict';
......
......@@ -42,7 +42,8 @@
define([
'common/main/lib/view/DocumentAccessDialog',
'common/main/lib/component/CheckBox'
'common/main/lib/component/CheckBox',
'sdk'
], function () {
'use strict';
......
......@@ -31,7 +31,8 @@
*
*/
define([
'common/main/lib/view/DocumentAccessDialog'
'common/main/lib/view/DocumentAccessDialog',
'sdk'
], function () {
'use strict';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment