Skip to content

Commit

Permalink
[FEAT] Bump BPMN vendor libs used in the misc examples (#444)
Browse files Browse the repository at this point in the history
bpmn-js from 9.0.3 to 11.1.1
@kie-tools/kie-editors-standalone from 0.19.0 to 0.26.0
  • Loading branch information
tbouffard authored Jan 16, 2023
1 parent 7805bd6 commit b7d9743
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ <h2 class="bg-dark">Miscellaneous</h2>
<img src="static/img/preview/misc/compare-with-kie-editors-standalone.png" class="img-responsive" alt="compare with kie-editors-standalone">
</div>
<div class="card-body">Compare the libraries on BPMN elements rendering and API usage.<br>
<b>WARN</b>: the <code>kie-editors-standalone</code> javascript resources are very large (12 MB, more than 2.5 MB after compression)
<b>WARN</b>: the <code>kie-editors-standalone</code> javascript resources are very large (12.5 MB, more than 3 MB after compression)
and slow to initialize.</div>
<div class="card-footer"></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion examples/misc/compare-with-bpmn-js/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</style>
<script defer src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-js viewer distro (with pan and zoom) -->
<script defer src="https://cdn.jsdelivr.net/npm/bpmn-js@9.0.3/dist/bpmn-navigated-viewer.production.min.js" integrity="sha256-s/JkRyhKsh/RvFnHOHaBixwQtMShax4mAzW+SKvQWMU=" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/bpmn-js@11.1.1/dist/bpmn-navigated-viewer.production.min.js" integrity="sha256-m98lbCWcgMOn6QoSblajG1hCmn5+d4EJwooJENh+yBY=" crossorigin="anonymous"></script>
<!-- load bpmn-visualization -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/bpmn-visualization.min.js"></script>
<script defer src="shared.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This example let you compare [`bpmn-visualization`](https://github.com/process-a

**WARN** \
The following applies at least to `[email protected]`
- The javascript bundle is very large (12 MB, more than 2.5 MB after compression), very slow to load and generates a lot of error in the console.
- The javascript bundle is very large (12.5 MB, more than 3 MB after compression), very slow to load and generates a lot of error in the console.
- It is unable to display most of the C.x diagrams from the miwg-test-suite (parsing errors). See also [KOGITO-5395](https://issues.redhat.com/browse/KOGITO-5395).


Expand Down
4 changes: 2 additions & 2 deletions examples/misc/compare-with-kie-editors-standalone/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<script defer src="../../static/js/link-to-sources.js"></script>
<script defer src="../../static/js/dom-helper.js"></script>
<!-- load bpmn kie-editors-standalone -->
<script defer src="https://cdn.jsdelivr.net/npm/@kie-tools/kie-editors-standalone@0.19.0/dist/bpmn/index.js"
integrity="sha256-UdaL91gCjylebTtxFlegIp+wveYHJYriiFtZmd8ssDY=" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/@kie-tools/kie-editors-standalone@0.26.0/dist/bpmn/index.js"
integrity="sha256-anZcLFSPz6/3m7qh5hNcD2d4YmHp8jRxXXzksmdU1yw=" crossorigin="anonymous"></script>
<!-- load bpmn-visualization -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/bpmn-visualization.min.js"></script>
<script defer src="../compare-with-bpmn-js/shared.js"></script>
Expand Down

0 comments on commit b7d9743

Please sign in to comment.