events/event-basics.md: inserted missing semicolon into example code

Closes gh-541