Skip to content

Commit

Permalink
Update update.repos.json.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxodin committed Jun 23, 2023
1 parent 582b86c commit 8f81277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/update.repos.json.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,13 @@ function installPart(entry, path) {
if (name.endsWith('.el')) {
html = dedent(`
<link href="https://cdn.jsdelivr.net/gh/u1ui/${name}@${version}/${blankName}.min.css" rel=stylesheet>
<script src="https://cdn.jsdelivr.net/gh/u1ui/${name}@${version}/${blankName}.min.js" type=module>`);
<script src="https://cdn.jsdelivr.net/gh/u1ui/${name}@${version}/${blankName}.min.js" type=module></script>`);
}
if (name.endsWith('.class')) {
html = `<link href="https://cdn.jsdelivr.net/gh/u1ui/${name}@${version}/${blankName}.min.css" rel=stylesheet>`;
}
if (name.endsWith('.attr')) {
html = `<script src="https://cdn.jsdelivr.net/gh/u1ui/${name}@${version}/${blankName}.min.js" type=module>`;
html = `<script src="https://cdn.jsdelivr.net/gh/u1ui/${name}@${version}/${blankName}.min.js" type=module></script>`;
}
if (name.endsWith('.js')) {
const js = `import * as module from "https://cdn.jsdelivr.net/gh/u1ui/${name}@${version}/${blankName}.min.js"`;
Expand Down

0 comments on commit 8f81277

Please sign in to comment.