motion-kit / motion-kit-events

MotionKit::Events provides event hooks to cleanly separate your views, controllers, and event handling
18 stars 1 forks source link

Added .off method. Also clarified README and added example test. #3

Closed jamonholmgren closed 10 years ago

jamonholmgren commented 10 years ago

Ref: #2 (cc @willrax)

Remove all event handlers for a specific event.

@layout.on :login { login }
@layout.off :login
colinta commented 10 years ago

Nice! I like.

colinta commented 10 years ago

Available in 0.3.0