refactor: Moving to svelteless, added Jenkinsfile
Some checks failed
Gitea djledda.de/arne-drums/pipeline/head There was a failure building this commit

This commit is contained in:
Daniel Ledda
2021-08-28 20:57:20 +02:00
parent b1e65acda6
commit 87b9078072
20 changed files with 8409 additions and 1064 deletions

View File

@@ -1,18 +1,38 @@
import App from './ui/App.svelte';
import Store from "./Store";
const app = new App({
target: document.body,
props: {
store: new Store({
bars: 10,
timeSig: {
down: 4,
up: 4,
},
drumSchema: ['LF', 'LH', 'RH', 'RF'],
}),
},
});
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;