elasticsales/backbone.mousetrap — pull request #3 by asoto98 (2013-06-23 06:20:10+00:00)
Title: Using View's constructor instead of initialize to bind keyboard events.

Like this plugin, simple and gets the job done. My issue is that I always create an initialize function for my views, and I'm not a fan of calling the super method every time.

This modifies the plugin in the same fashion as #1.

Differences:
Not polluting the Backbone namespace with the orignal view.
Checking hasOwnProperty on object iteration.
Forcing strict mode