rename lib directory
This commit is contained in:
parent
31dcc528c1
commit
82f8c36da6
|
|
@ -45,8 +45,8 @@
|
|||
</folk-distance-field>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-distance-field.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-distance-field.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -89,8 +89,8 @@
|
|||
</folk-sand>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-sand.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-sand.ts';
|
||||
|
||||
document.querySelector('folk-sand').onMaterialChange = (materialNumber) => {
|
||||
document.querySelector('key-helper button[active]').removeAttribute('active');
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
</head>
|
||||
<body>
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-distance-field.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-distance-field.ts';
|
||||
|
||||
const d = document.createElement('folk-distance-field');
|
||||
const geometries = [];
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
|
||||
const geometries = [];
|
||||
|
||||
|
|
|
|||
|
|
@ -84,8 +84,8 @@
|
|||
<folk-rope source="#box1" target="#box2"></folk-rope>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-rope.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-rope.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@
|
|||
</main>
|
||||
|
||||
<script type="module">
|
||||
import '../src/common/iframe-script.ts';
|
||||
import '../lib/common/iframe-script.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@
|
|||
<folk-shape x="100" y="300" width="50" height="50"></folk-shape>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
|
||||
const geos = document.querySelectorAll('folk-shape');
|
||||
|
||||
|
|
|
|||
|
|
@ -53,9 +53,9 @@
|
|||
</folk-shape>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import './src/folk-metronome.ts';
|
||||
import '../src/standalone/folk-event-propagator.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-event-propagator.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@
|
|||
</main>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
|
||||
function copyStyles(from, to) {
|
||||
const styles = getComputedStyle(from);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { FolkShape } from '../../src/folk-shape.ts';
|
||||
import { FolkArrow } from '../../src/folk-arrow.ts';
|
||||
import { FolkShape } from '../../lib/folk-shape.ts';
|
||||
import { FolkArrow } from '../../lib/folk-arrow.ts';
|
||||
import { FileSaver } from '../src/file-system.ts';
|
||||
|
||||
declare global {
|
||||
|
|
|
|||
|
|
@ -105,8 +105,8 @@
|
|||
<folk-shape x="500" y="100" width="30" height="70"></folk-shape>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-sand.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-sand.ts';
|
||||
|
||||
document.querySelector('folk-sand').onMaterialChange = (materialNumber) => {
|
||||
document.querySelector('key-helper button[active]').removeAttribute('active');
|
||||
|
|
|
|||
|
|
@ -39,8 +39,8 @@
|
|||
<folk-rope source="iframe#frame1 #box1" target="iframe#frame2 #box2"></folk-rope>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-rope.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-rope.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
<folk-xanadu source="iframe#frame1 p:nth-child(6)" target="iframe#frame2 p:nth-child(4)"></folk-xanadu>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-xanadu.ts';
|
||||
import '../lib/standalone/folk-xanadu.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -51,8 +51,8 @@ rotation: from.x/10"
|
|||
></folk-event-propagator>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import { FolkEventPropagator } from '../src/standalone/folk-event-propagator.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import { FolkEventPropagator } from '../lib/standalone/folk-event-propagator.ts';
|
||||
|
||||
class CutTool {
|
||||
entry() {
|
||||
|
|
|
|||
|
|
@ -49,11 +49,11 @@
|
|||
<folk-physics sources="#shape1, #shape2, #shape3, #shape4, #shape5, #shape6, #shape7, #shape8"></folk-physics>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-arrow.ts';
|
||||
import '../src/standalone/folk-rope.ts';
|
||||
import '../src/standalone/folk-graph.ts';
|
||||
import '../src/standalone/folk-physics.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-arrow.ts';
|
||||
import '../lib/standalone/folk-rope.ts';
|
||||
import '../lib/standalone/folk-graph.ts';
|
||||
import '../lib/standalone/folk-physics.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -106,10 +106,10 @@
|
|||
></folk-event-propagator>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-llm.ts';
|
||||
import './src/folk-timer.ts';
|
||||
import '../src/standalone/folk-event-propagator.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-llm.ts';
|
||||
import '../lib/standalone/folk-event-propagator.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ rotation: from.x"
|
|||
></folk-event-propagator>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-event-propagator.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-event-propagator.ts';
|
||||
|
||||
let timeout = -1;
|
||||
let isBlowing = false;
|
||||
|
|
|
|||
|
|
@ -45,8 +45,8 @@ rotation: from.x/10"
|
|||
></folk-event-propagator>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-event-propagator.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-event-propagator.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -72,8 +72,8 @@
|
|||
|
||||
<script type="module">
|
||||
import 'https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.18.0/cdn/components/qr-code/qr-code.js';
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-event-propagator.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-event-propagator.ts';
|
||||
|
||||
const ropeMode = document.querySelector('input[type="checkbox"]');
|
||||
|
||||
|
|
|
|||
|
|
@ -47,10 +47,10 @@
|
|||
</folk-graph>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-arrow.ts';
|
||||
import '../src/standalone/folk-rope.ts';
|
||||
import '../src/standalone/folk-graph.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-arrow.ts';
|
||||
import '../lib/standalone/folk-rope.ts';
|
||||
import '../lib/standalone/folk-graph.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
<body>
|
||||
<button on:click="DRAW">Draw</button>
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-ink.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-ink.ts';
|
||||
|
||||
const drawButton = document.querySelector('button');
|
||||
|
||||
|
|
|
|||
|
|
@ -123,8 +123,8 @@
|
|||
</folk-shape>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-spreadsheet.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-spreadsheet.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
<folk-shape x="100" y="300" width="50" height="50" rotation="45"></folk-shape>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
|
||||
// Check for moveBefore support
|
||||
if (!Element.prototype.moveBefore) {
|
||||
|
|
|
|||
|
|
@ -78,8 +78,8 @@
|
|||
|
||||
<script type="module">
|
||||
import './src/record-player.ts';
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-event-propagator.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-event-propagator.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -41,9 +41,9 @@
|
|||
</folk-physics>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-physics.ts';
|
||||
import '../src/standalone/folk-event-propagator.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-physics.ts';
|
||||
import '../lib/standalone/folk-event-propagator.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@
|
|||
<folk-shape x="300" y="350" width="60" height="90" rotation="45"></folk-shape>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-projector.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-projector.ts';
|
||||
|
||||
const projector = document.querySelector('folk-projector');
|
||||
|
||||
|
|
|
|||
|
|
@ -88,12 +88,12 @@
|
|||
></folk-event-propagator>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import { FolkMap } from '../src/standalone/folk-map.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';
|
||||
import { FolkWeather } from './src/folk-weather.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import { FolkMap } from '../lib/standalone/folk-map.ts';
|
||||
import { FolkCluster } from '../lib/standalone/folk-proximity.ts';
|
||||
import '../lib/standalone/folk-event-propagator.ts';
|
||||
|
||||
FolkCluster.registerElement({
|
||||
constructor: FolkMap,
|
||||
|
|
|
|||
|
|
@ -75,11 +75,11 @@
|
|||
</folk-proximity>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import { FolkMap } from '../src/standalone/folk-map.ts';
|
||||
import { FolkWeather } from './src/folk-weather.ts';
|
||||
import { GeoWiki } from './src/geo-wiki.ts';
|
||||
import { FolkCluster } from '../src/standalone/folk-proximity.ts';
|
||||
import { FolkWeather } from './src/folk-weather.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import { FolkMap } from '../lib/standalone/folk-map.ts';
|
||||
import { FolkCluster } from '../lib/standalone/folk-proximity.ts';
|
||||
|
||||
FolkCluster.registerElement({
|
||||
constructor: FolkMap,
|
||||
|
|
|
|||
|
|
@ -60,9 +60,9 @@
|
|||
</folk-shape>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import './src/record-player.ts';
|
||||
import { aabbIntersection } from '../src/common/collision.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import { aabbIntersection } from '../lib/common/collision.ts';
|
||||
|
||||
let proximityDistance = 150;
|
||||
const proximitySet = new Set();
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@
|
|||
<folk-space-radial sources="folk-shape"> </folk-space-radial>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-space-radial.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-space-radial.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -89,8 +89,8 @@
|
|||
</folk-shape> -->
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-arrow.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-arrow.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -144,8 +144,8 @@
|
|||
<folk-arrow source="#box1" target="#box3"></folk-arrow>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-arrow.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-arrow.ts';
|
||||
|
||||
document.body.querySelectorAll('folk-shape').forEach((el, i) => (el.style.viewTransitionName = `g${i}`));
|
||||
document.body.querySelectorAll('folk-arrow').forEach((el, i) => (el.style.viewTransitionName = `c${i}`));
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@
|
|||
<folk-shape x="400" y="275" width="50" height="50"></folk-shape>
|
||||
|
||||
<script type="module">
|
||||
import { FolkShape } from '../src/standalone/folk-shape.ts';
|
||||
import { aabbHitDetection } from '../src/common/collision.ts';
|
||||
import { FolkShape } from '../lib/standalone/folk-shape.ts';
|
||||
import { aabbHitDetection } from '../lib/common/collision.ts';
|
||||
|
||||
const shapes = Array.from(document.querySelectorAll('folk-shape, p'));
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
<folk-shape x="100" y="300" width="50" height="50" rotation="45"></folk-shape>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -48,8 +48,8 @@
|
|||
</folk-space>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-space.ts';
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-space.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
|
||||
document.addEventListener('click', () => window.space.transition());
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -163,9 +163,9 @@
|
|||
</folk-shape>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-arrow.ts';
|
||||
import '../src/standalone/folk-spreadsheet.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-arrow.ts';
|
||||
import '../lib/standalone/folk-spreadsheet.ts';
|
||||
|
||||
let isProjected = false;
|
||||
const button = document.querySelector('button');
|
||||
|
|
|
|||
|
|
@ -162,10 +162,10 @@
|
|||
></folk-event-propagator>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-map.ts';
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-event-propagator.ts';
|
||||
import '../src/standalone/folk-spreadsheet.ts';
|
||||
import '../lib/standalone/folk-map.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-event-propagator.ts';
|
||||
import '../lib/standalone/folk-spreadsheet.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -41,8 +41,8 @@
|
|||
</folk-space-projector>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-space-projector.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-space-projector.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { FolkElement } from '../../src/common/folk-element';
|
||||
import { FolkElement } from '../../lib/common/folk-element';
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { FolkElement } from '../../src/common/folk-element';
|
||||
import { FolkElement } from '../../lib/common/folk-element';
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { html } from '../../src/common/tags';
|
||||
import { html } from '../../lib/common/tags';
|
||||
|
||||
interface Weather {
|
||||
temperature: string;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// Ported from https://github.com/bitu467/record-player
|
||||
import { css, html } from '../../src/common/tags';
|
||||
import { css, html } from '../../lib/common/tags';
|
||||
|
||||
const styles = css`
|
||||
::slotted(*) {
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@
|
|||
<folk-arrow source="#box1" target="#box2"></folk-arrow>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-arrow.ts';
|
||||
import '../src/common/iframe-script.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-arrow.ts';
|
||||
import '../lib/common/iframe-script.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -43,8 +43,8 @@
|
|||
<folk-rope source="#box1" target="#box4"></folk-rope>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-rope.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-rope.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -52,11 +52,11 @@
|
|||
</folk-toolset>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-event-propagator.ts';
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-distance-field.ts';
|
||||
import '../src/standalone/folk-sand.ts';
|
||||
import '../src/standalone/folk-toolset.ts';
|
||||
import '../lib/standalone/folk-event-propagator.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-distance-field.ts';
|
||||
import '../lib/standalone/folk-sand.ts';
|
||||
import '../lib/standalone/folk-toolset.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -45,8 +45,8 @@
|
|||
</folk-hull>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../src/standalone/folk-hull.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-hull.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -201,8 +201,8 @@
|
|||
<folk-xanadu source="folk-shape[name='1'] [link='2']" target="folk-shape[name='2'] [link='2']"></folk-xanadu>
|
||||
|
||||
<script type="module">
|
||||
import '../src/standalone/folk-xanadu.ts';
|
||||
import '../src/standalone/folk-shape.ts';
|
||||
import '../lib/standalone/folk-xanadu.ts';
|
||||
import '../lib/standalone/folk-shape.ts';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Adopted from: https://github.com/pshihn/bezier-points/blob/master/src/index.ts
|
||||
// Adopted from: https://github.com/pshihn/bezier-points/blob/master/lib/index.ts
|
||||
|
||||
import type { Point } from './types.ts';
|
||||
import { Vector } from './Vector.ts';
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue