Permalink
Browse files

Revert previous commit about event handling in options

  • Loading branch information...
1 parent f7ae6aa commit 4aee904b6696e243ec2c77f43d8af0fad0d61ae5 @tbassetto tbassetto committed Nov 8, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −8 lib/view.js
View
@@ -77,14 +77,6 @@ define([
} else {
this.data = {};
}
-
- /* If a subview declared events: {} properly (à la Backbone), copy them and associated callbacks */
- this.events = options.events || null;
- for (var eventCallbackName in this.events) {
- if (this.events.hasOwnProperty(eventCallbackName)) {
- this[this.events[eventCallbackName]] = options[this.events[eventCallbackName]];
- }
- }
},
/**

0 comments on commit 4aee904

Please sign in to comment.