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

No way to pass derived distro config parameters to JS side #11

Open
smithfarm opened this issue Sep 15, 2016 · 0 comments
Open

No way to pass derived distro config parameters to JS side #11

smithfarm opened this issue Sep 15, 2016 · 0 comments
Assignees
Labels

Comments

@smithfarm
Copy link
Owner

When the JS side is initiated (in Resource.pm), config params are passed from the Perl side to the JS side. However, the derived distro has no way to pass its own config params. This is a design flaw that needs to be fixed.

What needs to happen is the _require_js() function in Resource.pm needs to call out to a function in Dispatch.pm to get additional parameters. This function will be a noop in App::MFILE::WWW, existing just to be optionally overlayed in the derived distro's Dispatch module.

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

No branches or pull requests

1 participant