RubyGems Navigation menu

haml_to_js 0.1

haml_to_js is a ruby library and command line that converts haml to javascript. Why an other haml to js converter (see similar utilities) ? * It is a extension of [haml_to_star](https://github.com/sdrdis/haml_to_star) which purpose is to convert haml into any language * This converter is intended for front usage * It simplifies debugging (the generated code is readable, a variable hold haml line number so you can know exactly where the problem is) * It support features that other don't support (don't hesitate to raise an issue if I am no longer right): * if...else statements * Declarations such as `.first{class: 'second'}` will generate `<div class="first second"></div>` * Support for brackets inside parameters (ex: `%div{key: 'value with bracket}'}`)

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 0.1.1 - December 27, 2012 (8,5 KB)
  2. 0.1 - December 27, 2012 (8,5 KB)

dependencias de Runtime (1):

Propietarios:

Autores:

  • Sébastien Drouyer

SHA 256 checksum:

decae3068c256f9afb3ce25b92ff7dc6701fb8888573f22d6ad8b8b645eff3b5

Total de descargas 7.186

Para esta versión 3.012

Licencias:

N/A

Versión de Ruby requerida: Ninguno

Enlace: