Skip to content

Is it possible to use JQuery in threads? #11

@OnfireNFS

Description

@OnfireNFS

Is it possible to add JQuery to synchronous threads? It would be useful to be able to access methods like $.post() or $.get() and $(data).attr();

I found this version of JQuery without DOM functions intended for web workers. Unfortunately it doesn't have the .attr() method but it does have $.post() and $.get(). https://github.com/kpozin/jquery-nodom

I don't know how to modify multithread.js to add a reference to this library and I haven't tried using Web Workers before but if it would be possible to create a fork that includes JQuery it would make multithread.js easier to use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions