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

window.xxx objects not available in epa scope via direct reference xxx #15

Open
sashafirsov opened this issue Aug 4, 2019 · 0 comments

Comments

@sashafirsov
Copy link
Member

polymer cli generates the code which sets windos.define=function(){...} in first script section and use define() call without window in following script section.

Which leads to inability of use polymer generated code as microapplication.

The same pattern often used for global objects access.

While embed-page does provide own instance of window and populates some members as scope variable( document, location, etc. ), the variables assigned to window object are not exposed.

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