Skip to content

Commit

Permalink
Merge pull request #9 from ggorlen/use-min
Browse files Browse the repository at this point in the history
Use minified jsdelivr links
  • Loading branch information
ggorlen authored Jan 19, 2024
2 parents bc9b9dd + 0200a9b commit 42a26d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Simple binary tree visualizer
<body>

<!-- always use a specific commit hash -->
<script src="https://cdn.jsdelivr.net/gh/ggorlen/prettybt@f55c8c5/js/pbt.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ggorlen/prettybt@f55c8c5/js/pbt.min.js"></script>
<script>
var canvas = document.createElement("canvas");
Expand All @@ -34,8 +34,8 @@ PrettyBT.drawBinaryTree(canvas, tree, {size: 17});
```html
<body>

<script src="https://cdn.jsdelivr.net/gh/gliffy/canvas2svg@eaab317/canvas2svg.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ggorlen/prettybt@f55c8c5/js/pbt.js"></script>
<script src="https://cdn.jsdelivr.net/gh/gliffy/canvas2svg@eaab317/canvas2svg.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ggorlen/prettybt@f55c8c5/js/pbt.min.js"></script>
<script>
var tree = PrettyBT.randomTree();
Expand Down

0 comments on commit 42a26d5

Please sign in to comment.