You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
end must be used where the docs say it should not be required (intro) #644
Expected behavior: The below should work without having to use end
The end terminator can often be omitted for both features and statements if either of these conditions hold:
Another feature starts:
<button _="on click if true log 'Clicked!'
on mouseenter log 'Mouse entered!'">
Click Me
</button>
error:
"hyperscript errors were found on the following element:" <button _="on click if true log 'Clicked!'
on mouseenter log 'Mouse entered!' end">
Click Me
</button> "
" "Expected 'end' but found 'on'
on mouseenter log 'Mouse entered!' end
^^
" "Error: Expected 'end' but found 'on'
solution:
<button _="on click if true log 'Clicked!' end
on mouseenter log 'Mouse entered!'">
Click Me
</button>
Activity