TruerWords Logo
Google
 
Web www.truerwords.net

Search TruerWords

Welcome
Sign Up  Log On

“RE: Creating Custom Events with JavaScript: Decoupling”

From: John Hermanson In Response To: 5568  Creating Custom Events with JavaScript: Decoupling
Date Posted: Friday, July 14, 2006 1:42:25 PM Replies: 1
   
Enclosures: None.

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:

  1. Toggle 1 and 2 to listen for event 'A'.
  2. Click 'Post Event A'. Both widgets (1 and 2) respond.
  3. Toggle 2 to stop listening.
  4. Click 'Post Event A'. Widget 2 responds, widget 1 does not.

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.
Truer words were never spoken.