From c0a16dacc4db8faf60140e0b73a64a37296c4a96 Mon Sep 17 00:00:00 2001 From: Mark Salsbery Date: Thu, 26 Sep 2013 10:23:00 -0700 Subject: [PATCH] eventsource.js comment fix --- src/eventsource.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/eventsource.js b/src/eventsource.js index 012ce68f..c5289777 100644 --- a/src/eventsource.js +++ b/src/eventsource.js @@ -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() {