emcee
emcee copied to clipboard
HAML support for html_import_tag
HAML support would be awesome.
my-component.html.haml raises a Sprockets::FileNotFound
%polymer-element{name: "my-component"}
%template
Hello, #{1 * 2}.
my-component.html.erb (erb is working)
<polymer-element name="my-component">
<template>
<%= 1 + 2 %>
</template>
</polymer-element>
@janowiesniak, Sorry it took me so long to respond to this, and thanks for raising the issue. This is definitely something I want to fix, but I'm really not sure how to do that at this point.
I've done some testing, and currently the html files won't get processed by haml (as you already, know). They can be processed as erb, but even then they don't have access to the rails helper methods.
So there's a bunch of stuff I need to figure out and learn to be able to do this, but I very much want to get these fixed.
Hi, just wanted to give you an update: I would like for this issue to be fixed, but I just don't have the need or motivation to work on this gem anymore. Sorry!
Will still accept pull requests, though.