Skip to content

Commit

Permalink
fix: examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Dec 9, 2020
1 parent 72a3500 commit 3ef2ada
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
},
"global": "CytoscapeBubbleSets",
"dependencies": {
"@types/cytoscape": "^3.14.7",
"cytoscape-layers": "^2.1.0"
"@types/cytoscape": "^3.14.7"
},
"peerDependencies": {
"cytoscape": "^3.17.0"
"cytoscape": "^3.17.0",
"cytoscape-layers": "^2.1.0"
},
"browserslist": [
"Firefox ESR",
Expand Down
2 changes: 1 addition & 1 deletion samples/bubbleclusters.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<script src="https://cdn.jsdelivr.net/npm/cytoscape"></script>
<script src="https://cdn.jsdelivr.net/npm/lodash"></script>
<script src="https://cdn.jsdelivr.net/npm/cytoscape-layers"></script>
<script src="../dist/cytoscapebubblesets.umd.development.js"></script>
<script src="../build/index.umd.js"></script>
<script>
function dist(a, b) {
const x = a.x - b.x;
Expand Down
2 changes: 1 addition & 1 deletion samples/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<script src="https://cdn.jsdelivr.net/npm/avsdf-base"></script>
<script src="https://cdn.jsdelivr.net/npm/cytoscape-avsdf"></script>
<script src="https://cdn.jsdelivr.net/npm/cytoscape-layers"></script>
<script src="../dist/cytoscapebubblesets.umd.development.js"></script>
<script src="../build/index.umd.js"></script>
<script>
const cy = cytoscape({
container: document.getElementById('app'), // container to render in
Expand Down
4 changes: 2 additions & 2 deletions samples/default_esm.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
{
"imports": {
"cytoscape": "https://cdn.jsdelivr.net/npm/cytoscape@3.15.0/dist/cytoscape.esm.min.js",
"cytoscape-layers": "https://cdn.jsdelivr.net/npm/cytoscape-layers",
"cytoscape-bubblesets": "../dist/cytoscapebubblesets.esm.js"
"cytoscape-layers": "https://cdn.jsdelivr.net/npm/cytoscape-layers/dist/cytoscapelayers.esm.js",
"cytoscape-bubblesets": "../build/index.esm.js"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion samples/euler.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<script src="https://cdn.jsdelivr.net/npm/cytoscape"></script>
<script src="https://cdn.jsdelivr.net/npm/cytoscape-layers"></script>
<script src="https://cdn.jsdelivr.net/npm/cytoscape-euler"></script>
<script src="../dist/cytoscapebubblesets.umd.development.js"></script>
<script src="../build/index.umd.js"></script>
<script>
const cy = cytoscape({
container: document.getElementById('app'), // container to render in
Expand Down

0 comments on commit 3ef2ada

Please sign in to comment.