Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

HAML support for html_import_tag #18

Open
JanOwiesniak opened this issue Jul 17, 2014 · 2 comments
Open

HAML support for html_import_tag #18

JanOwiesniak opened this issue Jul 17, 2014 · 2 comments

Comments

@JanOwiesniak
Copy link

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>
@ahuth
Copy link
Owner

ahuth commented Jul 23, 2014

@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.

@ahuth
Copy link
Owner

ahuth commented Dec 28, 2014

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.

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

No branches or pull requests

2 participants