Skip to content

Commit

Permalink
chore: verify deno tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Nov 7, 2024
1 parent 44c1209 commit f7069fa
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
3 changes: 2 additions & 1 deletion @mizu/internal/engine/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,8 @@ export class Renderer {
*/
warn(message: string, target?: Nullable<HTMLElement | Comment>): void {
if (this.#warn) {
return this.#warn(message, target)
this.#warn(message, target)
return
}
if (target && ((this.isHtmlElement(target)) || (this.isComment(target)))) {
return this.setAttribute(target, "*warn", message)
Expand Down
6 changes: 3 additions & 3 deletions @mizu/mustache/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# `*mustache`

| Version | Phase |
| ----------------------------------------- | -------------- |
| ![](https://jsr.io/badges/@mizu/mustache) | 41`CONTENT` |
| Version | Phase | Multiple |
| ----------------------------------------- | ---------------------------- | -------- |
| ![](https://jsr.io/badges/@mizu/mustache) | 42`CONTENT_INTERPOLATION` | Yes |

Enable content interpolation within « mustaches » ( `{{` and `}}`) from [`Text`](https://developer.mozilla.org/docs/Web/API/Text) child nodes.

Expand Down
3 changes: 1 addition & 2 deletions www/html/mizu/tbd.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ <h1 id="tbd"><a href="#tbd">To Be Defined</a></h1>
<section>
<div class="flash attention">
<p>
<em>mizu.js</em> is currently in development and follows <a href="https://0ver.org">ZeroVer</a> versioning.
This means breaking changes may occur in minor versions, even for previously defined features.
<em>mizu.js</em> is currently in development and follows <a href="https://0ver.org">ZeroVer</a> versioning. This means breaking changes may occur in minor versions, even for previously defined features.
</p>
</div>
<p>
Expand Down
2 changes: 1 addition & 1 deletion www/static/rendering.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion www/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function js(exported: string, options = {} as Pick<NonNullable<Arg<typeof
export async function html(page: string) {
Mizu.context = { page }
log.with({ context: Mizu.context }).debug("rendering html")
return Mizu.render(await fetch(import.meta.resolve("./html/index.html")).then((response) => response.text()), {warn:() => null})
return Mizu.render(await fetch(import.meta.resolve("./html/index.html")).then((response) => response.text()), { warn: () => null })
}

/** Generate documentation for an exported class. */
Expand Down

0 comments on commit f7069fa

Please sign in to comment.