try to get dependabot to work (#63)

This commit is contained in:
Gregor Zeitlinger 2024-10-03 09:44:25 +02:00 • committed by GitHub
commit 6c833c2346
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 8 additions and 4 deletions

View file

@ -0,0 +1,3 @@
[toolchain]
channel = "stable"
targets = [ "wasm32-unknown-unknown" ]

View file

@ -6,7 +6,7 @@ window.clash = {
const control = new Control();
window.clash_control = control;
run(selector, control);
run({selector, control});
return control;
},

View file

@ -8,7 +8,7 @@ function dynamicallyLoadScript(url, onload) {
document.head.appendChild(script);
}
export async function run(selector, control) {
export async function run({selector, control}) {
const root = document.querySelector(selector);
const canvas = document.createElement("canvas");
canvas.setAttribute("id", "glcanvas");

View file

@ -1 +0,0 @@
stable

View file

@ -0,0 +1,3 @@
[toolchain]
channel = "stable"
targets = [ "wasm32-unknown-unknown" ]

View file

@ -1 +0,0 @@
stable