Skip to content

Commit

Permalink
Cherry-pick to unstable: Merge pull request #3260 from s-weigand/fix-…
Browse files Browse the repository at this point in the history
…demos

📚🩹 Fix broken demos in the docs are broken due to 404 error fetching `cytoscape.min.js`
  • Loading branch information
maxkfranz committed Jul 18, 2024
1 parent 8393c9e commit 48115e3
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion documentation/demos/6000-elements/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link href="style.css" rel="stylesheet" />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion documentation/demos/circle-layout/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="style.css" rel="stylesheet" />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion documentation/demos/concentric-layout/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="style.css" rel="stylesheet" />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="style.css" rel="stylesheet" />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion documentation/demos/cose-bilkent-layout/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="style.css" rel="stylesheet" />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion documentation/demos/cose-layout/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="style.css" rel="stylesheet" />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion documentation/demos/edge-arrows/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="style.css" rel="stylesheet" />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion documentation/demos/edge-types/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="style.css" rel="stylesheet" />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion documentation/demos/genemania-export/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="style.css" rel="stylesheet" />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion documentation/demos/grid-layout/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="style.css" rel="stylesheet" />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion documentation/demos/labels/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="style.css" rel="stylesheet" />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion documentation/demos/node-types/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="style.css" rel="stylesheet" />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion documentation/demos/performance-tuning/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset=utf-8 />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>
<title>Performance tuning</title>
Expand Down
2 changes: 1 addition & 1 deletion documentation/demos/radius-types/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="style.css" rel="stylesheet" />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion documentation/demos/spread-layout/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="style.css" rel="stylesheet" />

<!-- For loading external data files -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js?features=Promise,fetch"></script>

<script src="../../js/cytoscape.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion documentation/docmaker.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
{ "name": "Circle layout", "id": "circle-layout" },
{ "name": "Concentric layout", "id": "concentric-layout" },
{ "name": "AVSDF layout", "id": "avsdf-layout", "github": "iVis-at-Bilkent/cytoscape.js-avsdf", "viewUrl": "https://ivis-at-bilkent.github.io/cytoscape.js-avsdf/demo.html" },
{ "name": "CiSE layout", "id": "cise-layout", "github": "iVis-at-Bilkent/cytoscape.js-cise", "viewUrl": "https://ivis-at-bilkent.github.io/cytoscape.js-cise/demo.html" },
{ "name": "CiSE layout", "id": "cise-layout", "github": "iVis-at-Bilkent/cytoscape.js-cise", "viewUrl": "https://ivis-at-bilkent.github.io/cytoscape.js-cise/demo/demo.html" },
{ "name": "Grid layout", "id": "grid-layout" },
{ "name": "CoSE layout", "id": "cose-layout" },
{ "name": "CoSE Bilkent layout", "id": "cose-bilkent-layout", "github": "cytoscape/cytoscape.js-cose-bilkent" },
Expand Down

0 comments on commit 48115e3

Please sign in to comment.