Some checks failed
Gitea djledda.de/arne-drums/pipeline/head There was a failure building this commit
38 lines
650 B
TypeScript
38 lines
650 B
TypeScript
import App from "./ui/App.svelte";
|
|
import Store from "./Store";
|
|
|
|
const defaultSettings = {
|
|
bars: 10,
|
|
timeSig: {
|
|
down: 4,
|
|
up: 4,
|
|
},
|
|
};
|
|
|
|
const store = new Store({
|
|
beats: [
|
|
{
|
|
name: "LF",
|
|
...defaultSettings,
|
|
},
|
|
{
|
|
name: "LH",
|
|
...defaultSettings,
|
|
},
|
|
{
|
|
name: "RH",
|
|
...defaultSettings,
|
|
},
|
|
{
|
|
name: "RF",
|
|
...defaultSettings,
|
|
}
|
|
]
|
|
});
|
|
|
|
const app = new App({
|
|
target: document.body,
|
|
props: {store},
|
|
});
|
|
|
|
export default app; |