Switch branches/tags
Nothing to show
Commits on Oct 5, 2010
  1. Note Transition tool

    Also fix a few lines to make the file valid YAML
    committed Oct 5, 2010
Commits on Oct 4, 2010
  1. Ignore .build directory

    committed Oct 4, 2010
Commits on Oct 3, 2010
  1. Distribute source code under the MIT license

    because I don't really care what you do with it.
    committed Oct 3, 2010
Commits on Apr 11, 2010
  1. Let empty string match an empty hash (instead of prefix match always …

    …returning true with '')
    committed Apr 11, 2010
  2. Create iframe with document.write if the document isn't loaded yet

    You should remember
    that throws an uncatchable error in IE saying "Operation aborted"
    if script tries to call document.body.appendChild before the body is ready.
    Use document.readyState ('complete') to determine document.write vs appendChild.
    This avoids the error (and somewhat works) in IE 6 and 7.
    committed Apr 11, 2010
  3. Move processing of cached custom events into the IE version of send()…

    … since that's where it belongs anyway
    committed Apr 11, 2010
Commits on Apr 10, 2010
  1. Fix getHash bug which would return full url instead of empty string w…

    …hen no hash is present
    committed Apr 10, 2010
Commits on Apr 9, 2010
  1. Remove synthesize.hashchange and Dispatcher (completed). Add notes ab…

    …out domready and haXe.
    committed Apr 9, 2010
  2. Lower the poll interval from 250 to 200 milliseconds

    Clicking the back/forward buttons on IE too quickly will drop recent history entries,
    presumably because the iframe hasn't been set up yet.
    Try to lower the interval to lessen this.
    committed Apr 9, 2010
  3. Allow prepare() to stop the event from being added

    Return true or false from prepare to determine whether or not to continue adding the event.
    Cache element and function in an array in case the browser (IE) doesn't support custom events.
    committed Apr 9, 2010
  4. Remove unused/unsent parameter from _iframeHash and put the 'return' …

    …in front of the value (since javascript requires it).
    committed Apr 9, 2010
Commits on Apr 8, 2010
  1. Add prelimnary functions to synthesize 'hashchange' event for browser…

    …s that don't support it
    Simulate by polling url for hash changes.
    Currently working in Opera and Firefox.
    committed Apr 8, 2010
  2. Don't call charAt on null

    committed Apr 8, 2010
  3. Fix getHash function to use location.href instead of location.hash

    location.hash url-decodes the hash (which could interfere with parsing)
    committed Apr 8, 2010
  4. Change the listen function to accept the event name/type as first arg…

    …ument (more like addEventListener)
    (In preparation for also listening to onload)
    committed Apr 8, 2010
  5. Remove unused _lastHash variable (this is the responsibility of the E…

    …vent library not the Dispatcher)
    committed Apr 8, 2010
Commits on Apr 7, 2010
  1. Call dispatched function as method on element and send event for cons…

    …istency with other event handlers.
    This is more [actually] consistent than the last [inconsistent] version.
    The current hash and condition return values are still supplied (as second and third arguments after event).
    committed Apr 7, 2010
  2. Wrap IE [5+] Event model to simulate standards and lessen memory leaks

    If standard (DOM Level 2) Event model is not present, check for the IE [5+] Event model.
    If that exists (it should) then define add() and remove() to wrap attach/detachEvent
    and insert a number of hacks to make things resemble standards-compliance
    and try to avoid the infamous IE memory leaks.
    committed Apr 7, 2010
  3. Wrap external function calls in try/catch

    Don't let errors in one callback keep other (unrelated) dispatched methods from running.
    Do this for both the condition function and the action function.
    committed Apr 7, 2010
  4. Condense code by eliminating some whitespace and using a local variab…

    …le in place of 'this'.
    committed Apr 7, 2010
  5. Define listen method to allow for easily overriding (allowing use of …

    …custom event library)
    Instead of explicitly calling Auger.Event.add, call a separate method to set up a hashchange listener.
    This allows the listen method to be overridden so another event library can be used.
    By default try Auger.Event and then simply window.onhashchange.  If both fail, throw an error.
    committed Apr 7, 2010