move some elements to demo
This commit is contained in:
parent
3623702b79
commit
4558990ac2
|
|
@ -108,7 +108,7 @@
|
|||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-llm.ts';
|
||||
import '../src/standalone/folk-timer.ts';
|
||||
import './src/folk-timer.ts';
|
||||
import '../src/standalone/folk-event-propagator.ts';
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@
|
|||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import { FolkMap } from '../src/standalone/folk-map.ts';
|
||||
import { FolkWeather } from '../src/standalone/folk-weather.ts';
|
||||
import { FolkWeather } from './src/folk-weather.ts';
|
||||
import { GeoWiki } from './src/geo-wiki.ts';
|
||||
import { FolkCluster } from '../src/standalone/folk-proximity.ts';
|
||||
import '../src/standalone/folk-event-propagator.ts';
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@
|
|||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import { FolkMap } from '../src/standalone/folk-map.ts';
|
||||
import { FolkWeather } from '../src/standalone/folk-weather.ts';
|
||||
import { FolkWeather } from './src/folk-weather.ts';
|
||||
import { GeoWiki } from './src/geo-wiki.ts';
|
||||
import { FolkCluster } from '../src/standalone/folk-proximity.ts';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { FolkElement } from './common/folk-element';
|
||||
import { FolkElement } from '../../src/common/folk-element';
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
|
|
@ -43,3 +43,5 @@ export class FolkTimer extends FolkElement {
|
|||
this.renderRoot.textContent = (time / 1000).toFixed(1);
|
||||
};
|
||||
}
|
||||
|
||||
FolkTimer.define();
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import { html } from './common/tags';
|
||||
import { html } from '../../src/common/tags';
|
||||
|
||||
interface Weather {
|
||||
temperature: string;
|
||||
|
|
@ -71,3 +71,5 @@ export class FolkWeather extends HTMLElement {
|
|||
`);
|
||||
}
|
||||
}
|
||||
|
||||
FolkWeather.define();
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
import { FolkTimer } from '../folk-timer';
|
||||
|
||||
FolkTimer.define();
|
||||
|
||||
export { FolkTimer };
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
import { FolkWeather } from '../folk-weather';
|
||||
|
||||
FolkWeather.define();
|
||||
|
||||
export { FolkWeather };
|
||||
Loading…
Reference in New Issue