Skip to content

Commit

Permalink
Fix demo page
Browse files Browse the repository at this point in the history
Use vite instead of old snowpack. Works a lot easier, just requires some `type` imports in index.ts
  • Loading branch information
DrRataplan committed Oct 26, 2024
1 parent 67b87f8 commit 0618992
Show file tree
Hide file tree
Showing 7 changed files with 215 additions and 4,946 deletions.
3 changes: 2 additions & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!doctype html>
<html>
<head>
<title>fontoxpath</title>
Expand All @@ -8,7 +9,7 @@
/>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.0/beautify.js"></script>
<script src="./built/demo/main.js" type="module"></script>
<script src="./main.ts" type="module"></script>
<style>
#xmlFile * {
all: initial;
Expand Down
2 changes: 1 addition & 1 deletion demo/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ async function rerunXPath() {
xpath,
{
language: fontoxpath.evaluateXPath.XQUERY_3_1_LANGUAGE,
debug: false,
debug: true,
},
document
);
Expand Down
Loading

0 comments on commit 0618992

Please sign in to comment.