Browse Source

note to self about array event sources

Adam Shaw 13 years ago
parent
commit
5220310084
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/EventManager.js

+ 2 - 0
src/EventManager.js

@@ -81,6 +81,8 @@ function EventManager(options, _sources) {
 					if (source.eventTransform) {
 						events = $.map(events, source.eventTransform);
 					}
+					// TODO: this technique is not ideal for static array event sources.
+					//  For arrays, we'll want to process all events right in the beginning, then never again.
 				
 					for (var i=0; i<events.length; i++) {
 						events[i].source = source;