Commit f68fe67b authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

update menu

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64947 954022d7-b5bf-4e40-9824-e11837661b57
parent d6f5bd0b
......@@ -13,28 +13,31 @@ require.config({
// scripts that do not call define() to register a module
baseUrl: '../../',
paths: {
jquery : '../vendor/jquery/jquery',
underscore : '../vendor/underscore/underscore',
backbone : '../vendor/backbone/backbone',
bootstrap : '../vendor/bootstrap/dist/js/bootstrap',
text : '../vendor/requirejs-text/text',
perfectscrollbar: 'common/main/lib/mods/perfect-scrollbar',
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
xregexp : '../vendor/xregexp/xregexp-all-min',
sockjs : '../vendor/sockjs/sockjs.min',
jszip : '../vendor/jszip/jszip.min',
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
api : 'api/documents/api',
core : 'common/main/lib/core/application',
notification : 'common/main/lib/core/NotificationCenter',
keymaster : 'common/main/lib/core/keymaster',
tip : 'common/main/lib/util/Tip',
jquery : '../vendor/jquery/jquery',
underscore : '../vendor/underscore/underscore',
backbone : '../vendor/backbone/backbone',
bootstrap : '../vendor/bootstrap/dist/js/bootstrap',
text : '../vendor/requirejs-text/text',
perfectscrollbar: 'common/main/lib/mods/perfect-scrollbar',
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
xregexp : '../vendor/xregexp/xregexp-all-min',
sockjs : '../vendor/sockjs/sockjs.min',
jszip : '../vendor/jszip/jszip.min',
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
jsrsasign : '../vendor/jsrsasign/jsrsasign-latest-all-min',
allfonts : '../sdk/Common/AllFonts',
//sdk : '../sdk/Word/sdk-all',
api : 'api/documents/api',
core : 'common/main/lib/core/application',
notification : 'common/main/lib/core/NotificationCenter',
keymaster : 'common/main/lib/core/keymaster',
tip : 'common/main/lib/util/Tip',
localstorage : 'common/main/lib/util/LocalStorage',
analytics : 'common/Analytics',
gateway : 'common/Gateway',
locale : 'common/locale',
irregularstack : 'common/IrregularStack'
},
analytics : 'common/Analytics',
gateway : 'common/Gateway',
locale : 'common/locale',
irregularstack : 'common/IrregularStack'
},
// urlArgs: "_dc=" + (new Date()).getTime(), // debug only, be sure to remove it before deploying your code.
shim: {
underscore: {
......@@ -77,7 +80,8 @@ require.config({
'xregexp',
'sockjs',
'jszip',
'jsziputils'
'jsziputils',
'jsrsasign'
]
},
gateway: {
......@@ -94,15 +98,20 @@ require.config({
});
require([
'backbone',
'bootstrap',
'core',
'api',
'analytics',
'gateway',
'locale',
'jszip',
'jsziputils'
'backbone',
'bootstrap',
'core',
//'sdk',
'api',
'analytics',
'gateway',
'locale',
'jszip',
'jsziputils',
'jsrsasign',
'allfonts',
'sockjs',
'underscore'
], function (Backbone, Bootstrap, Core) {
Backbone.history.start();
......@@ -129,7 +138,7 @@ require([
/** proprietary begin **/
,'Common.Controllers.ExternalDiagramEditor'
/** proprietary end **/
,'Common.Controllers.ExternalMergeEditor'
,'Common.Controllers.ExternalMergeEditor'
//,'Common.Controllers.ReviewChanges'
]
});
......@@ -162,7 +171,7 @@ require([
,'documenteditor/main/app/view/ChartSettings'
,'common/main/lib/controller/ExternalDiagramEditor'
/** proprietary end **/
,'common/main/lib/controller/ExternalMergeEditor'
,'common/main/lib/controller/ExternalMergeEditor'
//,'common/main/lib/controller/ReviewChanges'
], function() {
app.start();
......
......@@ -35,7 +35,7 @@
}
.loader-page-romb {
width: 50px;
width: 40px;
display: inline-block;
}
......@@ -200,7 +200,7 @@
var params = getUrlParams(),
lang = (params["lang"] || 'en').split("-")[0],
customer = encodeUrlParam(params["customer"] || 'ONLYOFFICE');
customer = encodeUrlParam(params["customer"] || 'ONLYOFFICE'),
loading = 'Loading...';
if ( lang == 'de') loading = 'Ladevorgang...';
......@@ -235,10 +235,7 @@
<!-- debug end -->
<!-- 3rdparty -->
<script type="text/javascript" src="../../../../OfficeWeb/Common/3rdparty/sockjs/sockjs-0.3.min.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/3rdparty/xregexp/xregexp-all-min.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/3rdparty/underscore/underscore-min.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/3rdparty/jsrsasign/jsrsasign-latest-all-min.js"></script>
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
<!-- sdk -->
<script type="text/javascript" src="../../../../OfficeWeb/Common/AllFonts.js"></script>
......@@ -422,8 +419,6 @@
<script type="text/javascript" src="../../../../OfficeWeb/OfflineDocuments/ApplyDocumentChanges.js"></script>
<!-- application -->
<!--<script data-main="app" src="../../../vendor/jszip/jszip.min.js"></script>-->
<!--<script data-main="app" src="../../../vendor/jszip-utils/jszip-utils.min.js"></script>-->
<script data-main="app" src="../../../vendor/requirejs/require.js"></script>
</body>
</html>
\ No newline at end of file
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