Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing reference to src js file #389

Closed
blackfalcon opened this issue May 19, 2023 · 0 comments · Fixed by #390
Closed

Missing reference to src js file #389

blackfalcon opened this issue May 19, 2023 · 0 comments · Fixed by #390
Assignees
Labels

Comments

@blackfalcon
Copy link
Member

Recent updates removed the reference to the src js file.

<script type="module">
import 'https://cdn.jsdelivr.net/npm/marked@latest/marked.min.js';
import 'https://cdn.jsdelivr.net/npm/prismjs@latest/prism.js';
fetch('/demo/demo.md')
.then((response) => response.text())
.then((text) => {
const rawHtml = marked.parse(text);
document.querySelector('main').innerHTML = rawHtml;
Prism.highlightAll();
});
</script>
<!-- If additional elements are needed for the demo, add them here. -->
<script src="https://cdn.jsdelivr.net/npm/@alaskaairux/auro-accordion@latest/dist/auro-accordion__bundled.js" type="module"></script>

Expectation

The ./demo/index.html file should have the following code to reference the src js code.

<script type="module" src="../index.js"></script>
@blackfalcon blackfalcon self-assigned this May 19, 2023
blackfalcon added a commit that referenced this issue May 19, 2023
Changes to be committed:
modified:   template/demo/index.html
@blackfalcon blackfalcon linked a pull request May 19, 2023 that will close this issue
6 tasks
blackfalcon added a commit that referenced this issue May 19, 2023
Changes to be committed:
modified:   template/demo/index.html
blackfalcon pushed a commit that referenced this issue May 19, 2023
## [4.0.4](v4.0.3...v4.0.4) (2023-05-19)

### Bug Fixes

* replace missing js reference [#389](#389) ([4262238](4262238))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant