Famous/core — pull request #2 by zgardner (2014-04-10 22:46:53+00:00)
Title: Surface.emit should check event before doing event.stopPropogation

I expected emit to allow just a type to be passed.
This is common in other frameworks that have eventing (e.g. ExtJS) where the event can be "the message" without any payload.

The first conditional in this method does if (event && ...)
The second conditional does if (handled && event.stopPropogation)
To support just passing type, it should be if(handled && event && event.stopPropogation).