diff --git a/apps/documenteditor/mobile/app-dev.js b/apps/documenteditor/mobile/app-dev.js index 0a49bab00..2cc307b68 100644 --- a/apps/documenteditor/mobile/app-dev.js +++ b/apps/documenteditor/mobile/app-dev.js @@ -62,7 +62,8 @@ require.config({ gateway : 'common/Gateway', locale : 'common/locale', irregularstack : 'common/IrregularStack', - sharedsettings : 'common/mobile/utils/SharedSettings' + sharedsettings : 'common/mobile/utils/SharedSettings', + features : '../../web-apps-mobile/word/patch' }, shim: { @@ -224,11 +225,8 @@ require([ 'common/mobile/lib/controller/Collaboration' ], function() { window.compareVersions = true; - require(['documenteditor/mobile/app/controller/FeatureEdit'], function () { - app.start(); - }, function (error) { - app.start(); - }); + var _s = app.start.bind(app); + require(['features'], _s, _s); }); }); }, function(err) { diff --git a/apps/documenteditor/mobile/app.js b/apps/documenteditor/mobile/app.js index 7906d27c3..dba0a47b4 100644 --- a/apps/documenteditor/mobile/app.js +++ b/apps/documenteditor/mobile/app.js @@ -234,11 +234,7 @@ require([ 'documenteditor/mobile/app/controller/add/AddOther', 'common/mobile/lib/controller/Collaboration' ], function() { - require(['documenteditor/mobile/app/controller/FeatureEdit'], function () { - app.start(); - }, function (error) { - app.start(); - }); + app.start(); }); }); }, function(err) { diff --git a/apps/presentationeditor/mobile/app-dev.js b/apps/presentationeditor/mobile/app-dev.js index 5229e143b..931f572a8 100644 --- a/apps/presentationeditor/mobile/app-dev.js +++ b/apps/presentationeditor/mobile/app-dev.js @@ -61,7 +61,8 @@ require.config({ gateway : 'common/Gateway', locale : 'common/locale', irregularstack : 'common/IrregularStack', - sharedsettings : 'common/mobile/utils/SharedSettings' + sharedsettings : 'common/mobile/utils/SharedSettings', + features : '../../web-apps-mobile/slide/patch' }, shim: { @@ -221,11 +222,8 @@ require([ ], function() { window.compareVersions = true; - require(['presentationeditor/mobile/app/controller/FeatureEdit'], function () { - app.start(); - }, function (error) { - app.start(); - }); + var _s = app.start.bind(app); + require(['features'], _s, _s); }); }); }, function(err) { diff --git a/apps/presentationeditor/mobile/app.js b/apps/presentationeditor/mobile/app.js index 04819cdf4..abcec73a8 100644 --- a/apps/presentationeditor/mobile/app.js +++ b/apps/presentationeditor/mobile/app.js @@ -230,11 +230,7 @@ require([ 'presentationeditor/mobile/app/controller/add/AddSlide', 'common/mobile/lib/controller/Collaboration' ], function() { - require(['presentationeditor/mobile/app/controller/FeatureEdit'], function () { - app.start(); - }, function (error) { - app.start(); - }); + app.start(); }); }); }, function(err) { diff --git a/apps/spreadsheeteditor/mobile/app-dev.js b/apps/spreadsheeteditor/mobile/app-dev.js index eaa939bfd..ab63b4d3c 100644 --- a/apps/spreadsheeteditor/mobile/app-dev.js +++ b/apps/spreadsheeteditor/mobile/app-dev.js @@ -61,7 +61,8 @@ require.config({ gateway : 'common/Gateway', locale : 'common/locale', irregularstack : 'common/IrregularStack', - sharedsettings : 'common/mobile/utils/SharedSettings' + sharedsettings : 'common/mobile/utils/SharedSettings', + features : '../../web-apps-mobile/cell/patch' }, shim: { @@ -210,11 +211,8 @@ require([ ,'common/mobile/lib/controller/Collaboration' ], function() { window.compareVersions = true; - require(['spreadsheeteditor/mobile/app/controller/FeatureEdit'], function () { - app.start(); - }, function (error) { - app.start(); - }); + var _s = app.start.bind(app); + require(['features'], _s, _s); }); }); }, function(err) { diff --git a/apps/spreadsheeteditor/mobile/app.js b/apps/spreadsheeteditor/mobile/app.js index 8c4412101..9536367dd 100644 --- a/apps/spreadsheeteditor/mobile/app.js +++ b/apps/spreadsheeteditor/mobile/app.js @@ -220,11 +220,7 @@ require([ ,'spreadsheeteditor/mobile/app/controller/FilterOptions' ,'common/mobile/lib/controller/Collaboration' ], function() { - require(['spreadsheeteditor/mobile/app/controller/FeatureEdit'], function () { - app.start(); - }, function (error) { - app.start(); - }); + app.start(); }); }); }, function(err) {