Skip to content

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

Open
@sashafirsov

Description

@sashafirsov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions