Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Jonathan R.-Brochu's latest activity

Friday, August 28 2009
68 Wrong this in $w.dispatchEvent for on* callbacks was updated in envjs
  • Jonathan R.-Brochu
    Jonathan R.-Brochu commented at 1:40 PM

    (I apologize in advance in case I seem a bit lost, I haven't followed or played with EnvJS in a while)

    First, I just realized I never mentioned this bug was for...

Thursday, May 28 2009
65 DOMContentLoaded event is not fired was updated in envjs
  • Jonathan R.-Brochu
    Jonathan R.-Brochu commented at 5:48 PM

    Well, I just had a little time to take a look at John Resig's original code to see were it got broken. It turns out that his code set the $events array (then si...

Friday, May 22 2009
68 Wrong this in $w.dispatchEvent for on* callbacks was updated in envjs
  • Jonathan R.-Brochu
    Jonathan R.-Brochu commented at 3:06 AM

    Sorry, in the first paragraph please don't mind the messed-up formatting, so you should read:

    [...] you use "_this" where it really should be "this" [...]
    
  • Jonathan R.-Brochu
    Jonathan R.-Brochu created the ticket at 2:54 AM

    OK, not 100% sure about this one (I've been working all night on hacking envjs), but in $w.dispatchEvent(), when it's calling "on___" callbacks associated with ...

67 Event.target not properly set through constructor was updated in envjs
  • Jonathan R.-Brochu
    • Tag set to class, event
    by Jonathan R.-Brochu at 2:56 AM
  • Jonathan R.-Brochu
    Jonathan R.-Brochu created the ticket at 2:37 AM

    In the Event constructor, $target is never set properly. The fix is easy (surely a copy-paste error)

    In :

      $debug("Creating new Event");
      var $bubbles = opti...
Thursday, May 21 2009
65 DOMContentLoaded event is not fired was updated in envjs
  • Jonathan R.-Brochu
    Jonathan R.-Brochu commented at 9:51 PM

    If I may, let me contribute to the ticket.

    It appears that every events for the first element attached are never triggered.

    In $w.addEventListener(), you set th...