forked from ZenUml/core
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #174 from mermaid-js/fix/undo-vue-upgrade
Reverted v3.23.21 changes.
- Loading branch information
Showing
3 changed files
with
264 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.