You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
polymer cli generates the code which sets
windos.define=function(){...}
in firstscript
section and usedefine()
call withoutwindow
in followingscript
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 ofwindow
and populates some members as scope variable(document, location
, etc. ), the variables assigned towindow
object are not exposed.The text was updated successfully, but these errors were encountered: