-
Notifications
You must be signed in to change notification settings - Fork 69
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
Theseus breaks Polymer #66
Comments
Inserting Theseus first is the easiest, most fool-proof way to do it programmatically. Does it cause problems for Polymer, or does it just trigger a warning? |
I guessed so and it triggers the warning and causes problems. Some elements stop working. |
Could you give me an example, or will it be obvious if I open a Polymer example project? |
It is pretty obvious. With Polymer you include
With Theseus on it looks like
If you look at the Sources tab of Chrome dev tools it displays the Theseus script tag even before the html tag. |
Since Theseus inserts javascript as first script on the page it breaks the
platform.js
from Polymer.See
"platform.js is not the first script on the page. See http://www.polymer-project.org/docs/start/platform.html#setup for details."
I assume Theseus also requires to be the first script otherwise it would be nice to no insert it first or make it optional or something.
The text was updated successfully, but these errors were encountered: