Closed SilentCicero closed 8 years ago
I just hit this bug today. Currently it checks for boolean attributes by seeing if they're set to 'true'
or 'false'
. But if it's set to an expression, it can't tell.
Instead, it should detect if it's an expression and dynamically determine the boolean.
Fixed on 3.2.2
Thanks!
I think I have this issue, with yo-yoify@3.4.1
:
const row = (finishTodo, unfinishTodo, removeTodo) => (todo, index) => {
const toggle = todo.finished
? () => unfinishTodo(index)
: () => finishTodo(index)
const remove = () => removeTodo(index)
return yo `
<li>
<input type="checkbox"
${todo.finished ? 'checked' : ''}/>
</li>`
}
Unterminated string constant (19:18)
@derhuerst It might be because the lack of space on }/>
vs } />
. I know there is a bug in the html parser that requires that for <br/>
vs <br />
.
@shama
I know there is a bug in the html parser that requires that for
<br/>
vs<br />
.
Where can I report that issue?
Everytime I try to yo-yoify yo templates with properties like
disabled
orselected
I get the error:example:
in order to make the above work I have to do something like this:
@shama thoughts?