Skip to content

Workers - #29

Merged
Billy-Sheppard merged 12 commits into
mainfrom
workers
Sep 11, 2025
Merged

Workers#29
Billy-Sheppard merged 12 commits into
mainfrom
workers

Conversation

@Billy-Sheppard

Copy link
Copy Markdown
Owner

Thank you @tascord!

Comment thread js/worker_shim.js
}

// Create synthetic event that Chart.js expects
const syntheticEvent = {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is so stupid lol

Comment thread src/worker.rs Outdated
Comment thread src/worker.rs Outdated
Comment thread src/worker.rs Outdated
Comment thread src/worker.rs

fn shim_blob(imports_block: &str) -> String {
let _imports = js_sys::eval(
"[...document.head.querySelectorAll('script')].map(s => s.src).filter(Boolean)",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is so scuffed but we ball

@Billy-Sheppard
Billy-Sheppard merged commit 875744c into main Sep 11, 2025
2 checks passed
@Billy-Sheppard
Billy-Sheppard deleted the workers branch September 11, 2025 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants