Skip to content

Commit

Permalink
refactor: adjust demo registration
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-capsule42 committed Oct 23, 2024
1 parent 54c0277 commit 9a7a406
Show file tree
Hide file tree
Showing 5 changed files with 1,220 additions and 1 deletion.
1 change: 0 additions & 1 deletion demo/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
Prism.highlightAll();
});
</script>
<script type="module" src="../index.js"></script>
<script type="module">
import { initExamples } from "./api.min.js";
initExamples();
Expand Down
3 changes: 3 additions & 0 deletions demo/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import { customError } from "../apiExamples/error";
import { setReadonlyValue } from "../apiExamples/readonly";
import { swapInputValues } from "../apiExamples/swapValue";
import { programmaticallySetValue } from "../apiExamples/value";
import { AuroInput } from '../src/auro-input.js';

AuroInput.register();

export function initExamples(initCount) {
initCount = initCount || 0;
Expand Down
Loading

0 comments on commit 9a7a406

Please sign in to comment.