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
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
This is not the case when following the 0.8-preview recommendation to use webcomponents-lite.js.
Alternatively you can move the script tag that declares the Polymer variable to just above the import link tag (as show in the commented script tag above).
Note that in order to not break the stub installed by webcomponents.js (specifically the html imports polyfill, I think), we should probably set window.Polymer.dom = 'shadow' -- or something to that effect.
From @clintwood on April 13, 2015 12:3
Just in case someone else bumps up against this...
The documentation states that global settings should be the first script in the main document. So one would tend to do the following:
However, webcomponents.js overwrites the global
Polymer
variable.This is not the case when following the 0.8-preview recommendation to use
webcomponents-lite.js
.Alternatively you can move the script tag that declares the
Polymer
variable to just above the importlink
tag (as show in the commentedscript
tag above).Copied from original issue: Polymer/polymer#1404
The text was updated successfully, but these errors were encountered: