Skip to content
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

[0.8] importHref fails in IE/FF #1343

Closed
IntranetFactory opened this issue Mar 27, 2015 · 1 comment
Closed

[0.8] importHref fails in IE/FF #1343

IntranetFactory opened this issue Mar 27, 2015 · 1 comment
Labels

Comments

@IntranetFactory
Copy link

importHref with nested dom-modules fails in IE/FF. The Polymer() script is executed before the dom-module is loaded. I've created an isolated sample in https://github.com/IntranetFactory/polymer-importbug-1

Open demo-import.htm in Chrome - it loads import-element.htm which used importHref to load outer-element.htm. outer-element.htm then uses <link rel="import" href="inner-element.html"> to load an inner-element.html. It works in Chrome.

Opening demo-import.htm in FF or IE11 causes an error TypeError: this.$ is undefined in inner-element.htm as the Polymer( is executed before the dom-module of the inner-element is loaded.

@IntranetFactory
Copy link
Author

It works in FF/IE when I move the </dom-module> from line 7 to 17. https://github.com/IntranetFactory/polymer-importbug-1/blob/master/inner-element.html#L7

sorvell added a commit that referenced this issue Apr 6, 2015
@sorvell sorvell closed this as completed Apr 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants