Open
Description
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
Labels
No labels