From f012a2aeeef86b2e631f72abbe6dc6b892be0dce Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Wed, 17 Nov 2021 16:55:50 +0100 Subject: [PATCH] More cleanup in manual test cases --- test/manual/2264/iframe.html | 35 ---- test/manual/2264/iframe.js | 22 --- test/manual/2264/index.html | 11 -- test/manual/colorize.html | 54 ------ test/manual/index.html | 25 +-- test/manual/out-editor-esm-bundle.html | 19 -- test/manual/typescript/custom-worker.html | 36 +--- test/manual/typescript/index.html | 38 +--- test/manual/typescript/inlayHints.html | 219 ---------------------- 9 files changed, 17 insertions(+), 442 deletions(-) delete mode 100644 test/manual/2264/iframe.html delete mode 100644 test/manual/2264/iframe.js delete mode 100644 test/manual/2264/index.html delete mode 100644 test/manual/colorize.html delete mode 100644 test/manual/out-editor-esm-bundle.html delete mode 100644 test/manual/typescript/inlayHints.html diff --git a/test/manual/2264/iframe.html b/test/manual/2264/iframe.html deleted file mode 100644 index be08c038..00000000 --- a/test/manual/2264/iframe.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - -
- - - - - diff --git a/test/manual/2264/iframe.js b/test/manual/2264/iframe.js deleted file mode 100644 index 7b52a3cf..00000000 --- a/test/manual/2264/iframe.js +++ /dev/null @@ -1,22 +0,0 @@ -const init = () => { - loadEditor(function () { - // create the editor - const target = document.getElementById('container'); - const editor = monaco.editor.create(target, { language: 'html' }); - - // load some sample data - (async () => { - const response = await fetch('https://microsoft.github.io/monaco-editor/'); - const html = await response.text(); - editor.getModel().setValue(html); - })(); - }); -}; - -window.addEventListener('DOMContentLoaded', () => { - if (!window.innerWidth || !window.innerHeight) { - window.addEventListener('resize', init, { once: true }); - } else { - init(); - } -}); diff --git a/test/manual/2264/index.html b/test/manual/2264/index.html deleted file mode 100644 index 8479a90a..00000000 --- a/test/manual/2264/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - diff --git a/test/manual/colorize.html b/test/manual/colorize.html deleted file mode 100644 index f4780cb2..00000000 --- a/test/manual/colorize.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - -

Colorize example

- -
-/* Some example CSS */
-
-@import url("something.css");
-
-body {
-  margin: 0;
-  padding: 3em 6em;
-  font-family: tahoma, arial, sans-serif;
-  color: #000;
-}
-
-#navigation a {
-  font-weight: bold;
-  text-decoration: none !important;
-}
-
-h1 {
-  font-size: 2.5em;
-}
-
-h2 {
-  font-size: 1.7em;
-}
-
-h1:before, h2:before {
-  content: "some contents";
-}
-
-code {
-  font-family: courier, monospace;
-  font-size: 80%;
-  color: #418A8A;
-}
-
- - - - - - diff --git a/test/manual/index.html b/test/manual/index.html index a44deae9..150f25a5 100644 --- a/test/manual/index.html +++ b/test/manual/index.html @@ -6,21 +6,16 @@ Jump to: - [PLAYGROUND] -  |  - [fixed element] -  |  - [scrollable body] -  |  - [scrollable element]
-  |  - [Shadow DOM] -  |  - [colorize element] -  |  - [cross origin] -  |  - [diff] + [PLAYGROUND]  |  + [Shadow DOM]  |  + [Diff]  |  + [TypeScript]  |  + [TS Worker] +
 |  + [cross origin]  |  + [fixed element]  |  + [scrollable body]  |  + [scrollable element]

diff --git a/test/manual/out-editor-esm-bundle.html b/test/manual/out-editor-esm-bundle.html deleted file mode 100644 index 20799749..00000000 --- a/test/manual/out-editor-esm-bundle.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - -

Monaco Editor ESM Bundle

- -
-
-
- - - - diff --git a/test/manual/typescript/custom-worker.html b/test/manual/typescript/custom-worker.html index 4598edaf..fa9e963d 100644 --- a/test/manual/typescript/custom-worker.html +++ b/test/manual/typescript/custom-worker.html @@ -9,13 +9,7 @@ - -

Monaco Editor TypeScript test page

@@ -25,29 +19,8 @@ - - - - + + - - - - + + - - - - - - -