Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try to get dependabot to work #63

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions client/.rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "stable"
targets = [ "wasm32-unknown-unknown" ]
2 changes: 1 addition & 1 deletion client/js/src/index.js
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ window.clash = {
const control = new Control();
window.clash_control = control;

run(selector, control);
run({selector, control});

return control;
},
2 changes: 1 addition & 1 deletion client/js/src/run.js
Original file line number Diff line number Diff line change
@@ -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");
1 change: 0 additions & 1 deletion client/rust-toolchain

This file was deleted.

3 changes: 3 additions & 0 deletions server/.rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "stable"
targets = [ "wasm32-unknown-unknown" ]
1 change: 0 additions & 1 deletion server/rust-toolchain

This file was deleted.