TruerWords Logo
Google
 
Web www.truerwords.net

Search TruerWords

Welcome
Sign Up  Log On

“RE: Creating Custom Events with JavaScript: Decoupling”

From: Seth Dillingham In Response To: 5580  RE: Creating Custom Events with JavaScript: Decoupling
Date Posted: Friday, July 14, 2006 3:10:17 PM Replies: 1
   
Enclosures: None.

On 7/14/06, John Hermanson said:

> Very cool code. However, there appears to be a bug when toggling to 'stop
> listening'. The wrong widget will stop listening if more than one widget is
> listening and you toggle one widget to stop listening.
> For example:
> 
> Toggle 1 and 2 to listen for event 'A'.
> Click 'Post Event A'. Both widgets (1 and 2) respond.
> Toggle 2 to stop listening.
> Click 'Post Event A'. Widget 2 responds, widget 1 does not.

I've actually fixed this bug in a copy that I sent to a few people privately, but haven't updated the site yet. I'll take care of that in a few minutes, it's a very minor bug.

Could you tell me how you found this article? The page is getting a lot of traffic right now, but my referer logs aren't showing diddly.... I'm guessing that most people are coming in from a link in an RSS feed, so there is no referer.

Seth


Discussion Thread:
Trackbacks:

There are no trackbacks.


Until August 31
My Amazon sales
benefit the PMC

Homepage Links

Apr 1 - Aug 31
Ad revenue
benefits the PMC


TruerWords
is Seth Dillingham's
personal web site.
More than the sum of my parts.