From a0515a3c145c1ff6c4d30217859688822bf06ba9 Mon Sep 17 00:00:00 2001 From: Travis Reeder Date: Fri, 6 Oct 2023 14:58:42 +0000 Subject: [PATCH] bug fix --- example/bun-hono/app.js | 1 - example/bun-hono/public/components/current-car.js | 2 +- example/bun-hono/public/components/hello-world.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/example/bun-hono/app.js b/example/bun-hono/app.js index d616622..82b74fb 100644 --- a/example/bun-hono/app.js +++ b/example/bun-hono/app.js @@ -16,7 +16,6 @@ let rend = new Rend({ } }) - await addLocale('es', './public/locales/es.js') const app = new Hono() diff --git a/example/bun-hono/public/components/current-car.js b/example/bun-hono/public/components/current-car.js index 23c4c8f..5466590 100644 --- a/example/bun-hono/public/components/current-car.js +++ b/example/bun-hono/public/components/current-car.js @@ -31,6 +31,6 @@ export class CurrentCar extends LitElement { ` } - } + customElements.define('current-car', CurrentCar) diff --git a/example/bun-hono/public/components/hello-world.js b/example/bun-hono/public/components/hello-world.js index 33b2d54..8fe452a 100644 --- a/example/bun-hono/public/components/hello-world.js +++ b/example/bun-hono/public/components/hello-world.js @@ -1,7 +1,7 @@ import { html, css, LitElement } from 'lit' // import { styles } from '/css/lit.js' // TODO: reimplement this import '@material/web/button/filled-button.js' -import state from '/state/state.js' +import state from 'https://cdn.jsdelivr.net/gh/treeder/state@0/state.js' export class HelloWorld extends LitElement { static styles = [