Permalink
Commits on Feb 23, 2010
  1. Integrated jQuery domReadyness code for IE. Does not work for iframes…

    … so unit tests have been removed and a special test page has been added.
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 23, 2010
  2. Revised string constants definitions (again)

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 23, 2010
  3. (minor) spacing added for more readability.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 23, 2010
Commits on Feb 8, 2010
  1. Added ifNot for data holders.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 8, 2010
Commits on Feb 7, 2010
  1. Added a larger margin of error to control if the image blocks the DOM…

    … readyness event (just had a "latency" problem in gecko).
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 7, 2010
  2. Cleaned up string constants around a bit.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 7, 2010
  3. Re-organised ready code and removed non-working IE code (soooo tired!…

    …). For now, the IE DOM readyness code is a window.onload... :/
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 7, 2010
  4. Reworked the way predefined functors are stored.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 7, 2010
  5. Added 3 different DOM ready tests to avoid false positives.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 7, 2010
  6. Added Doctype declaration to readyTest page.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 7, 2010
  7. Previous DOM readyness technique for IE was a false positive. This on…

    …e has been tested for several timings and with POST requests. To be tested in IE6 & IE7.
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 7, 2010
  8. Make use of the new string constants.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 7, 2010
  9. Even more string constants.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 7, 2010
Commits on Feb 6, 2010
  1. Export the ready method.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 6, 2010
  2. Nore "Polling accured" stats. Duration is output with image not block…

    …ing verification.
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 6, 2010
  3. Fixed broken unit test.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 6, 2010
  4. Entirely reworked the DOM readyness detection code mainly for IE. We …

    …now use a script with a non-existing src and defer attribute. The onreadystatechange is triggered with loaded just after the DOM is ready. Maybe less accurate than the doScroll trick but it's far less heavy and is one of the fastest DOM readyness detection when compared to other browsers.
    
    To be tested in IE6 & IE7 but I cannot control the date of birth of defer without internet :P
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 6, 2010
  5. Use new string constant.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 6, 2010
  6. Code beutification.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 6, 2010
  7. Introduced new string constants.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 6, 2010
  8. Reworked the type control methods generation for great justice(tm).

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 6, 2010
  9. Modified DOM readyness test so that we get a test result and not an e…

    …xception whenever the event is fired ahead of time.
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 6, 2010
  10. Removed shift in favor of an index pretty much everywhere for better …

    …performance.
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 6, 2010
  11. Removed loading order from the sequenced dependencies test. IE can re…

    …-order execution without warning and only start rules are important.
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 6, 2010
Commits on Feb 5, 2010
  1. Strengthened ready test using a slow loading image (thanks to John Re…

    …sig for pointing this technique out).
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 5, 2010
  2. Document readyness test copied straight out of jQuery. Tried to make …

    …it as small as possible but still getting past 5kb minified now.
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 5, 2010
  3. Minor rewriting.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 5, 2010
  4. Added the possibility to group definitions using an object. Unit test…

    …s provided.
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 5, 2010
Commits on Feb 3, 2010
  1. Update version to 1.0 (rc2)

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 3, 2010
  2. Removed sorting from accumulator, should be a conscious decision from…

    … the developper.
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Feb 3, 2010
Commits on Jan 31, 2010
  1. Reworked dom readyness test again (shorter version).

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Jan 31, 2010
  2. Turned "return this;" into "return dominoes;" for better minification.

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Jan 31, 2010
  3. dominoes.poll now returns dominoes

    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Jan 31, 2010
  4. dominoes now returns itself (for chaining) and dominoes.run is an ali…

    …as for dominoes. Unit tests added.
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Jan 31, 2010
  5. dominoes.poll now expects polled functions to return false to finish …

    …(instead of true). DOM readyness logic revised.
    
    Signed-off-by: jaubourg <aubourg.julian@gmail.com>
    jaubourg committed Jan 31, 2010