Skip to content

Commit

Permalink
Fix: Javascript API documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pylover committed Aug 18, 2021
1 parent 4d3bc08 commit c080b8b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion adia/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from .renderer import Renderer


__version__ = '2.0.5'
__version__ = '2.0.6'
__all__ = [
'Diagram',
'SequenceDiagram',
Expand Down
10 changes: 10 additions & 0 deletions documentation/javascriptapi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ as the below:

<!-- OR Bundle -->
<script type="text/javascript" src="adia.bundle.js"></script>

<!-- Worker -->
<script
type="text/python"
id="adiaWorker"
class="webworker"
src="adia_worker.py"
async
></script>

...
</head>
<body onload="brython()">
Expand Down
2 changes: 1 addition & 1 deletion webclinic/check.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<script type="text/javascript" src="brython.js"></script>
<script type="text/javascript" src="lib.js"></script>
<script type="text/javascript" src="adia.stdlib.js"></script>
<link rel="stylesheet" href="global.css">
</head>
<body onload="brython({debug: 1})">
Expand Down
1 change: 0 additions & 1 deletion webclinic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,5 @@
sourceArea.addEventListener('input', go);
</script>


</body>
</html>

0 comments on commit c080b8b

Please sign in to comment.