eventsource.js comment fix

This commit is contained in:
Mark Salsbery 2013-09-26 10:23:00 -07:00
parent bf0608b4b2
commit c0a16dacc4

View File

@ -36,12 +36,8 @@
/**
* For use by classes which want to support custom, non-browser events.
* TODO: This is an awful name! This thing represents an "event source",
* not an "event handler". PLEASE change the to EventSource. Also please
* change 'addHandler', 'removeHandler' and 'raiseEvent' to 'bind',
* 'unbind', and 'trigger' respectively. Finally add a method 'one' which
* automatically unbinds a listener after the first triggered event that
* matches.
* TODO: Add a method 'one' which automatically unbinds a listener after
* the first triggered event that matches.
* @class
*/
$.EventSource = function() {