jaml icon indicating copy to clipboard operation
jaml copied to clipboard

No support for boolean attributes

Open stugol opened this issue 8 years ago • 1 comments

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:

<input type='checkbox' checked="false">

Which is clearly not what the developer wanted.

stugol avatar Sep 13 '16 20:09 stugol

Yeah....obviously this project is fucking dead.

Sod-Almighty avatar Nov 27 '17 04:11 Sod-Almighty