petermichaux / maria

The MVC framework for JavaScript applications. The real MVC. The Smalltalk MVC. The Gang of Four MVC.
BSD 2-Clause "Simplified" License
765 stars 51 forks source link

Event naming ... #75

Closed jamesladd closed 10 years ago

jamesladd commented 10 years ago

I noticed that when a model changes an event is fired. The event is 'change' and I want to know what is it not 'changed' past tense.

petermichaux commented 10 years ago

The event object itself is not in the past. The model changed but the event object that is emitted is a change event object.

All browser events are present tense: click, mousedown, etc. I wanted to keep that consistent.