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

Support for remote JS file execution #1

Open
AshanFernando opened this issue May 27, 2014 · 0 comments
Open

Support for remote JS file execution #1

AshanFernando opened this issue May 27, 2014 · 0 comments

Comments

@AshanFernando
Copy link
Owner

Traditionally 'Worker' mechanism supports JavaScript files to be executed directly by file path. ThreadJS uses an alternative approach by declaring Blobs with virtual URLs to define code to be executed on the fly. But Remote JavaScript support is also needed to provide support for browsers like IE10 and IE11.

Proposal:
Provide a mechanism to pass the URL of a remote JS file which includes the code for the Job.

e.g.

var threadInstance = new Thread({ data, jobURL: 'http://myfiles/', ..

and

var threadInstance = new Thread();
threadInstance.start(param, jobURL);

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

No branches or pull requests

1 participant