jaml icon indicating copy to clipboard operation
jaml copied to clipboard

JavaScript Haml

Results 9 jaml issues
Sort by recently updated
recently updated
newest added

It would seem to be completely impossible to specify a boolean attribute in a template: ``` Jaml.register('blah', function(checked){ input({ type: 'checkbox', checked: checked }); } ``` Outputs: ``` ``` Which...

The code ``` div({ cls: 'rect1' }); ``` produces ``` ``` which is **not** valid HTML! What possessed you to keep a list of _non-self-closing_ tags and have all others...

This allow to write: Jaml.render(function(data) { div(....) }, data); to easily use a template without registering it Jaml.register('tmpl', function(data) {....}); Jaml.render({tmpl: function(data) { div(....) }}, 'tmpl', data); to ovveride a...

I think I did this right. I needed to use 3 tags that were not there. thanks.

Hi, There is some execution error on http://edspencer.github.io/jaml/ causing issues while rendering of the site. Error encountered: "Refused to execute script from 'https://github.com/edspencer/jaml/raw/master/Jaml-all.js' because its MIME type ('text/plain') is not...

Hi, I'm pretty impressed with HAML like js rederer. But I'm confused how to use this with Rails app?? Where to put what and how to render on the view...

As HTML comes up, it would nice to have HTML 5 support.

When a template fails to compile, it'd be ideal to know which template (and ideally where in that template) the error occurred. AFAICT at the moment you usually get no...

I was please to see the indent feature, especially since it match my coding style (a 2 space indent ;-) But, I notice, indentation got reset when nesting template. Ex....