Skip to content

Proposal: Hook registration with url-scopes/path patterns #4

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

Open
matthewrobb opened this issue Oct 2, 2014 · 1 comment
Open

Proposal: Hook registration with url-scopes/path patterns #4

matthewrobb opened this issue Oct 2, 2014 · 1 comment
Labels

Comments

@matthewrobb
Copy link

The System loader may well be used to load a great many different things that are not simply JavaScript modules. It seems that in the spirit of The Extensible Web it would be best to describe what hooks get used in a way that is universal and can be extended by users at the lowest level. Ideally without HAVING to sub-class.

I would propose that something similar to what is being considered for ServiceWorkers => url-scopes/path-expressions be used in an api for registering hooks to handle loading. This would allow, for example, a translate hook be registered for "*.coffee" etc.

@caridy
Copy link
Contributor

caridy commented Aug 21, 2015

we should solve #72 first, then we can get back to this use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants