[cvs] commit: dimp/js/src DimpCore.js dimp/js DimpCore.js

Michael M Slusarz slusarz at horde.org
Tue Jun 12 12:35:22 UTC 2007


slusarz     2007-06-12 08:35:22 EDT

  Modified files:
    js/src               DimpCore.js 
    js                   DimpCore.js 
  Log:
  Drastically cut down on the number of Event handlers in DIMP.  Do this by
  removing individual event listeners for both the message list and the folder
  lists and instead use a div-wide Event listener and then figure out the
  necessary action from the event element.  On a installation with a bunch of
  folders (namely mine), this reduces the number of event handlers by a factor
  of approx. 3 (from 500 down to around 150 or so).  Also benefits by not having
  to attach these Event handlers on every viewport change.
  
  Revision  Changes    Path
  1.233     +1 -1      dimp/js/DimpCore.js
  1.233     +83 -18    dimp/js/src/DimpCore.js

  Chora Links:
  http://cvs.horde.org/diff.php/dimp/js/DimpCore.js?r1=1.232&r2=1.233&ty=u
  http://cvs.horde.org/diff.php/dimp/js/src/DimpCore.js?r1=1.232&r2=1.233&ty=u


More information about the cvs mailing list