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

Include html files as <link rel="import"> and remove html2js preprocessor #828

Closed
vojtajina opened this issue Nov 16, 2013 · 3 comments
Closed

Comments

@vojtajina
Copy link
Contributor

I think with html imports coming the browsers, we should include html files as <link rel="import" href="/imports/heart.html"> and remove the html2js preprocessor.

See #736, #788

@morethanreal
Copy link

I'm very interested in adding HTML Imports support in karma. We recently switched to use HTML Imports instead of script to load Polymer, and I'd be interested in making this work with karma.

@vojtajina
Copy link
Contributor Author

@morethanreal Awesome!

I think we should change the web-server to include html files as <link rel="import" href="xxx.html"> by default.
That happens here https://github.com/karma-runner/karma/blob/master/lib/middleware/karma.js#L72-L109

@pkozlowski-opensource
Copy link
Member

This was already fixed via 203a396

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants