Comments (3)
Hi. Thanks for raising this issue!
What's happening here is an unintended consequence of the fix for issue #12. This is also related to issue #19.
To prevent the HTML parser from removing non-standard syntax, such as Polymer's conditional attributes, <template>
tags are not processed at all. This keeps Nokogiri from removing the syntax it doesn't like.
However, this also keeps the stylesheet processor from seeing and processing any stylesheet references within the <template>
.
In development, the un-processed stylesheet reference works because 'paper-button.css' is where it's expected to be. In production, though, that file isn't there anymore, which is why you get a 404. Right now I'm working on a fix that will let the contents of the <template>
tags be processed, allowing the stylesheet processor to actually process everything it needs to.
from emcee.
@elliottsj, I've finally fixed the problems here, and you can see this working correctly here.
Emcee now uses a different parser and does some additional processing of tags with specific attributes to get everything to work right.
Thanks again, and let me know if you have any other issues.
from emcee.
@ahuth Awesome, thanks so much. I'll try it out tonight!
from emcee.
Related Issues (20)
- Issue Using Erb Templating in HTML Imports HOT 9
- HAML support for html_import_tag HOT 2
- core-icon, core-scaffold not working HOT 9
- Routing Error HOT 4
- External stylesheets aren't being reloaded HOT 3
- Getting not valid UTF-8 when using google-map web component HOT 5
- Some paper elements break polymer HOT 7
- Image asset urls HOT 2
- Polymer/Paper path parsing issue. HOT 4
- core-icon-button not working (random src) HOT 3
- Icons within elements (e.g., paper-icon-button) not rendering; think its a pipeline issue HOT 8
- Encoding / Umlauts escaping in JavaScript HOT 4
- Support: Import on custom elements HOT 1
- paper-toast not working in Firefox and Safari HOT 4
- Reloading of stylesheets HOT 2
- core-transition throwing exception HOT 1
- Emcee Railtie cant Modify frozen Array HOT 7
- Using rails + polymer how to root in rails HOT 1
- toastr is not working on safari at mac book pro
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emcee.