bigskysoftware / _hyperscript

a small scripting language for the web
BSD 2-Clause "Simplified" License
3.12k stars 147 forks source link

Error in Docs #22

Closed stevenjwright closed 3 years ago

stevenjwright commented 4 years ago

Hey there,

There's an error in the following example page: https://hyperscript.org/commands/remove/

<div _="on click remove .not-clacked to #another-div">Remove Class From Another Div!</div>

I think the to should be from, so:

<div _="on click remove .not-clacked from #another-div">Remove Class From Another Div!</div>

Thanks!

1cg commented 3 years ago

Thank you, this is now fixed.