@zenuml/core 3.23.26 → 3.23.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,18 +1,18 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <title>Integration ZenUML Library with Vanilla JavaScript</title>
6
6
  <script>
7
- window.process = {env: 'production'};
7
+ window.process = { env: "production" };
8
8
  </script>
9
- <script src="https://unpkg.com/@zenuml/core@2.0.33/dist/zenuml.js"></script>
9
+ <script src="https://www.unpkg.com/@zenuml/core/dist/zenuml.js"></script>
10
10
  </head>
11
11
  <body class="zenuml">
12
12
  <div id="app"></div>
13
13
  <script>
14
- const ZenUml = window['zenuml'].default;
15
- const zenuml = new ZenUml(document.getElementById('app'));
14
+ const ZenUml = window["zenuml"].default;
15
+ const zenuml = new ZenUml(document.getElementById("app"));
16
16
  const code = `
17
17
  @EC2 BookService
18
18
  @DynamoDB BookRepository
@@ -20,7 +20,7 @@
20
20
  BookRepository.storeBook()
21
21
  }
22
22
  `;
23
- zenuml.render(code, {theme: 'theme-blue'});
23
+ zenuml.render(code, { theme: "theme-blue" });
24
24
  </script>
25
25
  </body>
26
26
  </html>
package/README.md CHANGED
@@ -97,4 +97,4 @@ This repository contains both the DSL parser and the renderer.
97
97
  The parser is generated with Antlr4. You can find the definition at `src/g4`. Generated parser is at `src/generated-parser`.
98
98
  Parser enhancement with customised functionalities is in the `src/parser` folder.
99
99
 
100
- Almost everything else under serc are for the renderer. The render is based on VueJs 2.x.
100
+ Almost everything else under src are for the renderer. The render is based on VueJs 3.x.