Skip to content

Commit

Permalink
Collapse console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxwellBo committed Dec 16, 2024
1 parent 8d82871 commit ca3fd12
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bibhtml/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celine/bibhtml",
"version": "3.0.1",
"version": "3.0.2",
"license": "MIT",
"exports": "./mod.ts"
}
4 changes: 2 additions & 2 deletions bibhtml/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h1>@celine/bibhtml</h1>
<th>JSR</th>
<td class="width-auto"><a href="https://jsr.io/@celine/bibhtml">jsr.io/<wbr>@celine/<wbr>bibhtml</a> + <a href="https://jsr.io/@celine/bibhtml/doc">/docs</a></td>
<th>Version</th>
<td class="width-min"><a href="https://jsr.io/@celine/bibhtml/versions" id="version">3.0.1</a>, <time id="updated">Nov 29 2024</time></td>
<td class="width-min"><a href="https://jsr.io/@celine/bibhtml/versions" id="version">3.0.2</a>, <time id="updated">Nov 29 2024</time></td>
</tr>
<script type="module">
fetch("https://npm.jsr.io/@jsr/celine__bibhtml")
Expand All @@ -122,7 +122,7 @@ <h2>Installation</h2>
Add the following script to your HTML file's <code>&lt;head&gt;</code> element:
</p>

<div id="import-container"><script type="module" src="https://esm.sh/jsr/@celine/[email protected].1"></script></div>
<div id="import-container"><script type="module" src="https://esm.sh/jsr/@celine/[email protected].2"></script></div>

<script id="import" type="module">
celine.cell("import", () => {
Expand Down
2 changes: 1 addition & 1 deletion bibhtml/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class BibhtmlCite extends HTMLElement {
}

get replace(): string {
const REPLACEMENTS = ['number', 'none'];
const REPLACEMENTS = ['number', 'none', ''];

if (!REPLACEMENTS.includes(this.getAttribute('replace') || '')) {
console.warn(`Invalid value for the replace attribute in <${BibhtmlCite.customElementName}>. Valid values are ${REPLACEMENTS.join(', ')}. Defaulting to "number".`);
Expand Down

0 comments on commit ca3fd12

Please sign in to comment.