Closed vangorra closed 9 years ago
I'm not sure I understand. Any chance you can make a simple reproduction or share your code?
I've got it working as far as I can see here.
Admittedly, I cannot reproduce from a new project. Trying to nail down the repro steps.
Using your example project, change the path from /hello to /hello/world. The helpers.js#linkFunction will generate a relative, not absolute path. webcomponents.js gets really angry and throw the following warning a bunch of times.
Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened.
In my larger app, I have switched from a multi-depth path to a single one and ALL the errors have gone away.
Awesome, thanks for catching that! Just published 1.0.8! Will you confirm that all issues are fixed
Confirmed fixed. It's working so much better now.
On Thu, Mar 12, 2015 at 4:20 PM Eric Wyne notifications@github.com wrote:
Awesome, thanks for catching that! Just published 1.0.8! Will you confirm that all issues are fixed
— Reply to this email directly or view it on GitHub https://github.com/ecwyne/meteor-polymer-elements/issues/12#issuecomment-78687226 .
I have a project setup with iron router. It uses a global layout and renders a toolbar and main content. Using either the block or template helpers breaks routing to a point where pages don't load or templates are loaded on top of each other.
I get these errors:
If I use regular html tags, these errors are not present.