mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 13:48:34 +00:00
dont ignore hydra.mjs in eslint + fix lint
This commit is contained in:
parent
7839d6b4bf
commit
fde0da3b19
@ -20,5 +20,4 @@ vite.config.js
|
||||
**/dist
|
||||
/src-tauri/target/**/*
|
||||
reverbGen.mjs
|
||||
hydra.mjs
|
||||
jsdoc-synonyms.js
|
||||
@ -1,5 +1,5 @@
|
||||
import { getDrawContext } from '@strudel/draw';
|
||||
import { controls } from '@strudel/core';
|
||||
import { controls, getTime } from '@strudel/core';
|
||||
|
||||
let latestOptions;
|
||||
let hydra;
|
||||
@ -27,6 +27,7 @@ export async function initHydra(options = {}) {
|
||||
hydraConfig.canvas = canvas;
|
||||
|
||||
await import(/* @vite-ignore */ src);
|
||||
/* eslint-disable-next-line */
|
||||
hydra = new Hydra(hydraConfig);
|
||||
if (feedStrudel) {
|
||||
const { canvas } = getDrawContext();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user