hamlbars icon indicating copy to clipboard operation
hamlbars copied to clipboard

Some extensions to HAML to allow generation of Handlebars templates.

Results 12 hamlbars issues
Sort by recently updated
recently updated
newest added

DEPRECATION WARNING: Sprockets method `register_engine` is deprecated. Please register a mime type using `register_mime_type` then use `register_compressor` or `register_transformer`. https://github.com/rails/sprockets/blob/master/guides/extending_sprockets.md#supporting-all-versions-of-sprockets-in-processors (called from at /[PATH_TO_GEMS]/hamlbars-2.1.1/lib/hamlbars.rb:19)

The demo site linked in the README ( http://hamlbars-demo.herokuapp.com/ ) doesn't seem to exist.

old: ``` hbs {{#if messages}} {{#each messages}}{{{this}}}{{/each}} {{/if}} ``` with my modifications: ``` hbs {{#if messages}} {{#each messages}} {{{this}}} {{/each}} {{/if}} ```

Hi @jamesotron, I would like to add `bin/hamlbars` command as a utility. This is similar to https://github.com/jamesotron/hamlbars/issues/66. Original script is taken from https://github.com/hrysd/grunt-hamlbars, created by @hrysd. (I opened pull request...

Here's what I've done: 1. I added Hamlbars to the Gemfile: `gem 'hamlbars', '~> 2.1'`. We're already using `handlebars_assets`. 2. I created a new file file at `app/assets/javascripts/test.js.hbs.hamlbars`. 3. I...

I created this rake task for quickly generating .hamlbars files in `/templates`. If you want to use this let me know and I'll fork and PR. https://gist.github.com/chris-roerig/b6d57be82657d17c6c67

I have this `{{#ifValue product_type is="installment"}}` where `product_type` is a data attribute I'm passing in to the custom `ifValue` helper. Is this possible yet with hamlbars?

``` ruby hb 'linkTo "map.content.plinks"', 'tagName' => 'li' do %a{_action: '"showAnimated" "map.content.plinks" model "content"', bind: {href: "view.href"}} Plinks ``` leads during test mode to a _Error: Barber::PrecompilerError: Pre compilation failed_...

Working on an app with ~30 medium sized hamlbars files, hamlbars takes 26 seconds to compile. We're running it as `bundle exec haml -I. -r hamlbars`, with Haml 4.x., from...

With normal HAML, you can disable inputs in the definition by doing: `%button{:disabled => disabled ? true : nil}` but in Hamlbars I can't see a way to achieve the...