Skip to content

Commit a73cc81

Browse files
committed
build demo
1 parent 77b80c2 commit a73cc81

File tree

6 files changed

+31
-28
lines changed

6 files changed

+31
-28
lines changed

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"bootstrap": "^5.3.3",
3131
"codemirror": "^6.0.1",
3232
"lodash": "^4.17.21",
33-
"o2diff": "^5.0.0",
33+
"o2diff": "github:AlexanderMac/o2diff",
3434
"rxjs": "~7.8.1",
3535
"zone.js": "~0.15.0"
3636
},

demo/pnpm-lock.yaml

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/src/app/app.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<h1 class="text-center mt-2">O2Diff demo</h1>
2-
<div style="position: absolute; right: 1em; top: 1.5em">
2+
<div style="position: absolute; right: 1em; top: 1.0em">
33
<a href="https://github.com/AlexanderMac/o2diff">GitHub Repo</a>
4+
<div>v{{libVersion}}</div>
45
</div>
56
<hr />
67

demo/src/app/app.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export class AppComponent implements AfterViewInit {
2323
inputSuccess = ''
2424
inputError = ''
2525
diffType: DiffType | undefined
26+
libVersion = (o2diff as any).getLibVersion()
2627

2728
@ViewChild('original', { static: false }) original: any
2829
@ViewChild('current', { static: false }) current: any

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010

1111
<body>
1212
<app-root></app-root>
13-
<script src="polyfills-SC4UBBZS.js" type="module"></script><script src="main-T5SONZ6M.js" type="module"></script></body>
13+
<script src="polyfills-SC4UBBZS.js" type="module"></script><script src="main-ANJQAKGX.js" type="module"></script></body>
1414
</html>

docs/main-T5SONZ6M.js renamed to docs/main-ANJQAKGX.js

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)