level down

This commit is contained in:
OVSharova 2021-09-13 21:12:12 +03:00
parent d7a95c1513
commit 78b4d54c4f
38 changed files with 52 additions and 97 deletions

View file

@ -846,7 +846,7 @@
for (var i = scripts.length - 1; i >= 0; i--) { for (var i = scripts.length - 1; i >= 0; i--) {
match = scripts[i].src.match(/(.*)apps\/api\/documents\/api.js/i); match = scripts[i].src.match(/(.*)apps\/api\/documents\/api.js/i);
if (match) { if (match) {
return match[1] + "test/"; return match[1] + "test/apps/";
} }
} }

View file

@ -3,12 +3,12 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Unit Tests</title> <title>Unit Tests</title>
<link rel="stylesheet" href="../../build/node_modules/mocha/mocha.css" type="text/css" media="screen" title="no title" charset="utf-8"> <link rel="stylesheet" href="../../../build/node_modules/mocha/mocha.css" type="text/css" media="screen" title="no title" charset="utf-8">
</head> </head>
<body> <body>
<div id="mocha"></div> <div id="mocha"></div>
<script src="../../build/node_modules/mocha/mocha.js" type="text/javascript" charset="utf-8"></script> <script src="../../../build/node_modules/mocha/mocha.js" type="text/javascript" charset="utf-8"></script>
<script src="../../vendor/requirejs/require.js" type="text/javascript" charset="utf-8"></script> <script src="../../../vendor/requirejs/require.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
// Partial config file // Partial config file
@ -81,8 +81,8 @@
require([ require([
'../test/common', '../test/common',
'../../test/common/main/lib/util/utils.js', './main/lib/util/utils.js',
'../../test/common/main/lib/component/Button.js' './/main/lib/component/Button.js'
], runMocha); ], runMocha);
</script> </script>
</body> </body>

View file

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 323 B

View file

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 323 B

View file

@ -1,25 +1,25 @@
// Core variables and mixins // Core variables and mixins
@import "../../../../../vendor/bootstrap/less/variables.less"; @import "../../../../../../vendor/bootstrap/less/variables.less";
@icon-font-path: "../../../../../../vendor/bootstrap/dist/fonts/"; @icon-font-path: "../../../../../../vendor/bootstrap/dist/fonts/";
@import "../../../../../vendor/bootstrap/less/mixins.less"; @import "../../../../../../vendor/bootstrap/less/mixins.less";
// Reset // Reset
@import "../../../../../vendor/bootstrap/less/normalize.less"; @import "../../../../../../vendor/bootstrap/less/normalize.less";
@import "../../../../../vendor/bootstrap/less/print.less"; @import "../../../../../../vendor/bootstrap/less/print.less";
// Core CSS // Core CSS
@import "../../../../../vendor/bootstrap/less/scaffolding.less"; @import "../../../../../../vendor/bootstrap/less/scaffolding.less";
@import "../../../../../vendor/bootstrap/less/type.less"; @import "../../../../../../vendor/bootstrap/less/type.less";
//@import "code.less"; //@import "code.less";
//@import "grid.less"; //@import "grid.less";
//@import "tables.less"; //@import "tables.less";
@import "../../../../../vendor/bootstrap/less/forms.less"; @import "../../../../../../vendor/bootstrap/less/forms.less";
@import "../../../../../vendor/bootstrap/less/buttons.less"; @import "../../../../../../vendor/bootstrap/less/buttons.less";
// Components // Components
@import "../../../../../vendor/bootstrap/less/component-animations.less"; @import "../../../../../../vendor/bootstrap/less/component-animations.less";
//@import "../../../../../../vendor/bootstrap/less/glyphicons.less"; //@import "../../../../../../vendor/bootstrap/less/glyphicons.less";
//@import "dropdowns.less"; //@import "dropdowns.less";
//@import "button-groups.less"; //@import "button-groups.less";
@ -29,28 +29,28 @@
//@import "breadcrumbs.less"; //@import "breadcrumbs.less";
//@import "pagination.less"; //@import "pagination.less";
//@import "pager.less"; //@import "pager.less";
@import "../../../../../vendor/bootstrap/less/labels.less"; @import "../../../../../../vendor/bootstrap/less/labels.less";
//@import "badges.less"; //@import "badges.less";
//@import "jumbotron.less"; //@import "jumbotron.less";
//@import "thumbnails.less"; //@import "thumbnails.less";
@import "../../../../../vendor/bootstrap/less/alerts.less"; @import "../../../../../../vendor/bootstrap/less/alerts.less";
//@import "progress-bars.less"; //@import "progress-bars.less";
//@import "media.less"; //@import "media.less";
//@import "list-group.less"; //@import "list-group.less";
//@import "panels.less"; //@import "panels.less";
//@import "wells.less"; //@import "wells.less";
@import "../../../../../vendor/bootstrap/less/close.less"; @import "../../../../../../vendor/bootstrap/less/close.less";
// Components w/ JavaScript // Components w/ JavaScript
@import "../../../../../vendor/bootstrap/less/modals.less"; @import "../../../../../../vendor/bootstrap/less/modals.less";
@import "../../../../../vendor/bootstrap/less/tooltip.less"; @import "../../../../../../vendor/bootstrap/less/tooltip.less";
//@import "../../../../../../vendor/bootstrap/less/popovers.less"; //@import "../../../../../../vendor/bootstrap/less/popovers.less";
@import "../../../../../vendor/bootstrap/less/dropdowns.less"; @import "../../../../../../vendor/bootstrap/less/dropdowns.less";
//@import "carousel.less"; //@import "carousel.less";
// Utility classes // Utility classes
@import "../../../../../vendor/bootstrap/less/utilities.less"; @import "../../../../../../vendor/bootstrap/less/utilities.less";
@import "../../../../../vendor/bootstrap/less/responsive-utilities.less"; @import "../../../../../../vendor/bootstrap/less/responsive-utilities.less";
@import "loadmask.less"; @import "loadmask.less";

View file

@ -20,7 +20,7 @@
<!-- debug begin --> <!-- debug begin -->
<script type="text/javascript">var less=less||{};less.env='development';</script> <script type="text/javascript">var less=less||{};less.env='development';</script>
<script src="../../../vendor/less/dist/less.js" type="text/javascript"></script> <script src="../../../../vendor/less/dist/less.js" type="text/javascript"></script>
<!-- debug end --> <!-- debug end -->
<script> <script>
@ -102,20 +102,20 @@
<div class="hyperlink-tooltip" data-toggle="tooltip" title="" style="display:none;"></div>--> <div class="hyperlink-tooltip" data-toggle="tooltip" title="" style="display:none;"></div>-->
<!--vendor--> <!--vendor-->
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script> <script type="text/javascript" src="../../../../vendor/jquery/jquery.min.js"></script>
<script type="text/javascript" src="../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script> <script type="text/javascript" src="../../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script>
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.js"></script> <script type="text/javascript" src="../../../../vendor/bootstrap/dist/js/bootstrap.js"></script>
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script> <script type="text/javascript" src="../../../../vendor/sockjs/sockjs.min.js"></script>
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script> <script type="text/javascript" src="../../../../vendor/xregexp/xregexp-all-min.js"></script>
<script src="../../../vendor/requirejs/require.js"></script> <script src="../../../../vendor/requirejs/require.js"></script>
<script type="text/javascript" src="../../../../sdkjs/develop/sdkjs/word/scripts.js"></script> <script type="text/javascript" src="../../../../../sdkjs/develop/sdkjs/word/scripts.js"></script>
<script> <script>
window.sdk_scripts.forEach(function(item){ window.sdk_scripts.forEach(function(item){
document.write('<script type="text/javascript" src="' + item + '"><\/script>'); document.write('<script type="text/javascript" src="../' + item + '"><\/script>');
}); });
</script> </script>

View file

@ -40,7 +40,7 @@
</div> </div>
<!-- debug begin --> <!-- debug begin -->
<script type="text/javascript">var less=less||{};less.env='development';</script> <script type="text/javascript">var less=less||{};less.env='development';</script>
<script src="../../../vendor/less/dist/less.js" type="text/javascript"></script> <script src="../../../../vendor/less/dist/less.js" type="text/javascript"></script>
<!-- debug end --> <!-- debug end -->
<script> <script>
@ -144,20 +144,20 @@
<div class="hyperlink-tooltip" data-toggle="tooltip" title="Press Ctrl and click the link" style="display:none;"></div>--> <div class="hyperlink-tooltip" data-toggle="tooltip" title="Press Ctrl and click the link" style="display:none;"></div>-->
<!--vendor--> <!--vendor-->
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script> <script type="text/javascript" src="../../../../vendor/jquery/jquery.min.js"></script>
<script type="text/javascript" src="../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script> <script type="text/javascript" src="../../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script>
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.js"></script> <script type="text/javascript" src="../../../../vendor/bootstrap/dist/js/bootstrap.js"></script>
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script> <script type="text/javascript" src="../../../../vendor/sockjs/sockjs.min.js"></script>
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script> <script type="text/javascript" src="../../../../vendor/xregexp/xregexp-all-min.js"></script>
<script src="../../../vendor/requirejs/require.js"></script> <script src="../../../../vendor/requirejs/require.js"></script>
<script> <script>
require.config({ require.config({
baseUrl: '../../' baseUrl: '../../'
}); });
</script> </script>
<script type="text/javascript" src="../../../../sdkjs/develop/sdkjs/slide/scripts.js"></script> <script type="text/javascript" src="../../../../../sdkjs/develop/sdkjs/slide/scripts.js"></script>
<script> <script>
window.sdk_scripts.forEach(function(item){ window.sdk_scripts.forEach(function(item){
document.write('<script type="text/javascript" src="' + item + '"><\/script>'); document.write('<script type="text/javascript" src="' + item + '"><\/script>');

View file

@ -9,7 +9,7 @@
<!-- debug begin --> <!-- debug begin -->
<link rel="stylesheet" type="text/css" href="../../../../sdkjs/cell/css/main.css"/> <link rel="stylesheet" type="text/css" href="../../../../../sdkjs/cell/css/main.css"/>
<link rel="stylesheet/less" type="text/css" href="resources/less/application.less" /> <link rel="stylesheet/less" type="text/css" href="resources/less/application.less" />
<link rel="stylesheet/less" type="text/css" href="resources/less/celleditor.less" /> <link rel="stylesheet/less" type="text/css" href="resources/less/celleditor.less" />
<!-- debug end --> <!-- debug end -->
@ -42,7 +42,7 @@
<!-- debug begin --> <!-- debug begin -->
<script type="text/javascript">var less=less||{};less.env='development';</script> <script type="text/javascript">var less=less||{};less.env='development';</script>
<script src="../../../vendor/less/dist/less-2.7.1.js" type="text/javascript"></script> <script src="../../../../vendor/less/dist/less-2.7.1.js" type="text/javascript"></script>
<!-- debug end --> <!-- debug end -->
<script> <script>
@ -127,24 +127,24 @@
<div class="hyperlink-tooltip" data-toggle="tooltip" title="Press Ctrl and click the link" style="display:none;"></div> <div class="hyperlink-tooltip" data-toggle="tooltip" title="Press Ctrl and click the link" style="display:none;"></div>
<!--vendor--> <!--vendor-->
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script> <script type="text/javascript" src="../../../../vendor/jquery/jquery.min.js"></script>
<script type="text/javascript" src="../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script> <script type="text/javascript" src="../../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script>
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.js"></script> <script type="text/javascript" src="../../../../vendor/bootstrap/dist/js/bootstrap.js"></script>
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script> <script type="text/javascript" src="../../../../vendor/sockjs/sockjs.min.js"></script>
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script> <script type="text/javascript" src="../../../../vendor/underscore/underscore-min.js"></script>
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script> <script type="text/javascript" src="../../../../vendor/xregexp/xregexp-all-min.js"></script>
<script type="text/javascript" src="../../../vendor/jszip/jszip.min.js"></script> <script type="text/javascript" src="../../../../vendor/jszip/jszip.min.js"></script>
<script type="text/javascript" src="../../../vendor/jszip-utils/jszip-utils.min.js"></script> <script type="text/javascript" src="../../../../vendor/jszip-utils/jszip-utils.min.js"></script>
<script src="../../../vendor/requirejs/require.js"></script> <script src="../../../../vendor/requirejs/require.js"></script>
<script> <script>
require.config({ require.config({
baseUrl: '../../' baseUrl: '../../'
}); });
</script> </script>
<script type="text/javascript" src="../../../../sdkjs/develop/sdkjs/cell/scripts.js"></script> <script type="text/javascript" src="../../../../../sdkjs/develop/sdkjs/cell/scripts.js"></script>
<script> <script>
window.sdk_scripts.forEach(function(item){ window.sdk_scripts.forEach(function(item){
document.write('<script type="text/javascript" src="' + item + '"><\/script>'); document.write('<script type="text/javascript" src="' + item + '"><\/script>');

View file

@ -1,45 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Documents</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="description" content="">
<meta name="author" content="">
</head>
<body>
<div id="editor_sdk" class="viewer" style="overflow: hidden;" tabindex="-1"></div>
<!--vendor-->
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
<script type="text/javascript" src="../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script>
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.js"></script>
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
<script src="../../../vendor/requirejs/require.js"></script>
<script>
require.config({
baseUrl: '../../'
});
</script>
<script type="text/javascript" src="../../../../sdkjs/develop/sdkjs/word/scripts.js"></script>
<script>
window.sdk_scripts.forEach(function(item){
document.write('<script type="text/javascript" src="' + item + '"><\/script>');
});
</script>
<!--application-->
<script type="text/javascript" src="../../common/locale.js"></script>
<script type="text/javascript" src="../../common/Gateway.js"></script>
<script type="text/javascript" src="../../common/main/lib/util/LocalStorage.js"></script>
<script type="text/javascript" src="../../common/main/lib/util/utils.js"></script>
<script type="text/javascript" src="js/ApplicationView.js"></script>
<script type="text/javascript" src="js/ApplicationController.js"></script>
<script type="text/javascript" src="js/application.js"></script>
</body>
</html>