Skip to content

Commit

Permalink
Merge pull request #174 from mermaid-js/fix/undo-vue-upgrade
Browse files Browse the repository at this point in the history
Reverted v3.23.21 changes.
  • Loading branch information
MrCoder committed Jun 26, 2024
2 parents 38bddd7 + 9b98e70 commit 49f6f7e
Show file tree
Hide file tree
Showing 3 changed files with 264 additions and 180 deletions.
12 changes: 6 additions & 6 deletions Integration/vanilla-js/index.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Integration ZenUML Library with Vanilla JavaScript</title>
<script>
window.process = {env: 'production'};
window.process = { env: "production" };
</script>
<script src="https://unpkg.com/@zenuml/core@2.0.33/dist/zenuml.js"></script>
<script src="https://www.unpkg.com/@zenuml/core/dist/zenuml.js"></script>
</head>
<body class="zenuml">
<div id="app"></div>
<script>
const ZenUml = window['zenuml'].default;
const zenuml = new ZenUml(document.getElementById('app'));
const ZenUml = window["zenuml"].default;
const zenuml = new ZenUml(document.getElementById("app"));
const code = `
@EC2 BookService
@DynamoDB BookRepository
BookService.saveBook(1) {
BookRepository.storeBook()
}
`;
zenuml.render(code, {theme: 'theme-blue'});
zenuml.render(code, { theme: "theme-blue" });
</script>
</body>
</html>
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@headlessui/vue": "^1.7.16",
"@types/assert": "^1.5.6",
"@types/ramda": "^0.28.20",
"@vue/compat": "^3.4.27",
"@vue/compat": "^3.2.45",
"antlr4": "~4.11.0",
"color-string": "^1.5.5",
"dom-to-image-more": "^2.13.0",
Expand All @@ -59,7 +59,7 @@
"postcss": "^8.4.31",
"ramda": "^0.28.0",
"tailwindcss": "^3.2.4",
"vue": "^3.4.27",
"vue": "^3.2.45",
"vuex": "^4.1.0"
},
"devDependencies": {
Expand All @@ -72,8 +72,8 @@
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@vitejs/plugin-vue": "^4.0.0",
"@vue/compiler-dom": "^3.4.27",
"@vue/compiler-sfc": "^3.4.27",
"@vue/compiler-dom": "^3.3.8",
"@vue/compiler-sfc": "^3.2.45",
"@vue/test-utils": "^2.2.7",
"autoprefixer": "^10.4.13",
"concurrently": "^7.6.0",
Expand Down
Loading

0 comments on commit 49f6f7e

Please sign in to comment.