Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Preview broken due to bad include #62

Closed
Libbux opened this issue Jul 31, 2014 · 4 comments
Closed

Preview broken due to bad include #62

Libbux opened this issue Jul 31, 2014 · 4 comments
Assignees
Labels

Comments

@Libbux
Copy link

Libbux commented Jul 31, 2014

When previewing any content on the hosted designer, content is not shown. There appears to be a broken link in the page (to polymer.html), as the console complains about http://www.polymer-project.org/tools/designer/components/components/polymer/polymer.html not being found. The correct link should be http://www.polymer-project.org/tools/designer/components/polymer/polymer.html(I think).

@quantuminformation
Copy link

I also have the same issue.

@davidmaxwaterman
Copy link

Is this being worked on?
I found this fix to be effective :

diff --git a/elements/dom-serializer/dom-serializer.html b/elements/dom-serializer/dom-serializer.html
index 1cbb0a9..e924fb3 100644
--- a/elements/dom-serializer/dom-serializer.html
+++ b/elements/dom-serializer/dom-serializer.html
@@ -287,7 +287,7 @@ Polymer({
     if (!imports.length) {
       var p = element.ownerDocument.createElement('link');
       p.rel = 'import';
-      p.setAttribute('href', '../components/polymer/polymer.html');
+      p.setAttribute('href', '../../components/polymer/polymer.html');
       imports.push(p);
     }
     return imports;

@davidmaxwaterman
Copy link

#71

@davidmaxwaterman
Copy link

I don't get this same problem with the latest commit on master. I still don't see anything in preview, but I'm going to assume that's me doing something wrong.

justinfagnani added a commit that referenced this issue Apr 1, 2015
Switch to hydrolysis for html parsing - uses monomers branch.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants