We are pleased to present the 0.9.2 release of hyperscript.
on click doSomething() catch e log e finally cleanUp()
def foo() doSomething() finally cleanUp()
fetchcommand now support both configurable timeouts as well as the ability to cancel a fetch request by sending a
fetch:abortevent to the element making the request
if .someClass exists ...
repeat N timesform of the repeat command now supports an expression for
N(rather than only a number literal)
Fixedconversion can convert a number to a fixed-precision string:
log 3.1415 as Fixed:2 -- prints "3.14"
appendcommands were all cleaned up
inexpression when used with
formand other iterable DOM elements