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.

nickg's latest activity

Monday, March 15 2010
101 API to put maximum time limit on timers/intervals (patch) was updated in envjs
  • nickg
    nickg commented at 1:14 PM

    Ok this gives me some ideas on how to make global timeout really easy.

    Seem like it might be as simple as replacing

    Envjs.wait();
    

    with

    Envjs.wait(Envjs.MAXTI...
  • nickg
    nickg commented at 12:53 PM

    Hi again,

    I don't know if it's your domain or not, but you might find ticket 107 interesting:
    http://envjs.lighthouseapp.com/projects/21590/tickets/107-on-page...

  • nickg
    nickg commented at 12:24 PM

    Hi Steve,

    I think you are right about the event loop. The problem is the "README" says the caller (you), is suppose to manually call Envjs.wait() after the init...

107 On page with no javascript, 500-1000ms spent in event loop was updated in envjs
  • nickg
    nickg commented at 1:09 PM

    aha. learn something new everyday!

    CLOSE ME!

111 Image is not defined was updated in envjs
  • nickg
    • Tag changed from image to htmlimageelement, image
    by nickg at 11:58 AM
  • nickg
    nickg commented at 11:57 AM

    In my envjs-like thing, I did something like the following:

    // img                                                                                             ...
  • nickg
    nickg created the ticket at 11:47 AM

    looks like Image is missing in envjs.

    Image is a weirdo in the DOM, since it actually has a constructor, and doesn't need an OwnerDocument.

    For ref, https://dev...

112 Option is not defined was created in envjs
  • nickg
    nickg created the ticket at 11:56 AM

    Like "Image", "Option" is the other weirdo in the DOM that has a constructor.

    $ ./tester.sh
    Rhino 1.7 release 2 2009 03 22
    js> Option
    js: "<stdin>", line 2: un...
110 PATCH: Allow Envjs.[before|after]ScriptLoad to capture all embeddedJS, not ju... was updated in envjs
  • nickg
    nickg commented at 11:14 AM

    wow github must have a wiki bug.

  • nickg
    nickg created the ticket at 11:12 AM

    Hola,

    I'm not quite sure how to attach a patch, but this patch is 100% backwards compatible.

    The current [before|after]ScriptLoad only allows you to intercept e...