Skip to content

Commit

Permalink
Fix Visual Diff example (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Mar 22, 2024
1 parent 916085b commit 469f6a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,12 @@ const jsondiffpatchInstance = jsondiffpatch.create({
<link rel="stylesheet" href="./style.css" type="text/css" />
<link
rel="stylesheet"
href="https://cdn.skypack.dev/jsondiffpatch/formatters/styles/html.css"
href="https://esm.sh/jsondiffpatch@0.6.0/lib/formatters/styles/html.css"
type="text/css"
/>
<link
rel="stylesheet"
href="https://cdn.skypack.dev/jsondiffpatch/formatters/styles/annotated.css"
href="https://esm.sh/jsondiffpatch@0.6.0/lib/formatters/styles/annotated.css"
type="text/css"
/>
</head>
Expand All @@ -248,9 +248,9 @@ const jsondiffpatchInstance = jsondiffpatch.create({
<hr />
<div id="annotated"></div>
<script type="module">
import * as jsondiffpatch from 'https://cdn.skypack.dev/jsondiffpatch';
import * as annotatedFormatter from 'https://cdn.skypack.dev/jsondiffpatch/formatters/annotated';
import * as htmlFormatter from 'https://cdn.skypack.dev/jsondiffpatch/formatters/html';
import * as jsondiffpatch from 'https://esm.sh/jsondiffpatch@0.6.0';
import * as annotatedFormatter from 'https://esm.sh/jsondiffpatch@0.6.0/formatters/annotated';
import * as htmlFormatter from 'https://esm.sh/jsondiffpatch@0.6.0/formatters/html';
const left = { a: 3, b: 4 };
const right = { a: 5, c: 9 };
Expand Down

0 comments on commit 469f6a7

Please sign in to comment.