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

Implement GWT.getModuleBaseURL #6

Open
niloc132 opened this issue May 28, 2020 · 1 comment
Open

Implement GWT.getModuleBaseURL #6

niloc132 opened this issue May 28, 2020 · 1 comment

Comments

@niloc132
Copy link
Member

Main issues with this are how to handle being invoked in a non-browser situation, and how to be flexible when loaded from an iframe or the like.

Easiest way to do this is to probably to run some .native.js on startup to find the <script> tag currently being invoked and read the path string off of it, but allow some other string property to override this behavior to support the above use cases.

GWT2 compat probably comes from reading out of $moduleBase.

@niloc132
Copy link
Member Author

Be sure to see https://github.com/Vertispan/gwt-core/issues/2#issuecomment-424769183 - this task also matters for former public resources, for static files to use in testing.

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