Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

nashorn support #444

Closed
mattkime opened this issue Oct 26, 2015 · 3 comments
Closed

nashorn support #444

mattkime opened this issue Oct 26, 2015 · 3 comments

Comments

@mattkime
Copy link

i took a peek at the code and it looks like it assumes its running in the browser or in node. how about nashorn support?

I'm new to this project and I'm curious if there's been any discussion around this.

@guybedford
Copy link
Member

Nashorn support actually hasn't been considered to date, but could certainly be an option. The main APIs we need to access I believe are readFile, eval and cwd. If the implementations of those are short enough not to bloat the codebase, then there's no reason not to support it.

@amitport
Copy link

please re-open
following systemjs/systemjs#1113 (comment)

@guybedford
Copy link
Member

This specific project does not provide individual loader implementations, but this could be tracked at the system-register-loader project for example.

Also, you are welcome to construct your own loader with nashorn support based on the principles, and that would definitely be great to feed back into the projects here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants