Switch branches/tags
Nothing to show
Commits on Jan 27, 2010
Commits on Jan 21, 2010
  1. link_to options confirm, popup and method now handled using unobtrusi…

    …ve JS.
    To use the method option, you must have authenticity token available from the window object, like this:
       <script>window.AUTH_TOKEN="<%= escape_javascript form_authenticity_token %>"</script>
    committed Jan 21, 2010
Commits on Jan 19, 2010
Commits on Jan 16, 2010
  1. Upgrade to jQuery 1.4.

    Use submit live events.
    Remote events (click/submit) now signal which element was acted on using options.element;
    committed Jan 16, 2010
Commits on Jan 15, 2010
  1. Using $.ajax.context (borrowed from jQuery 1.4).

    Set dataType to script, so jQuery evaluates the result.
    Use getElementsById to allow arbitrary identifiers (data-success and data-failure)
    committed Jan 15, 2010
Commits on Jan 9, 2010
  1. Some changes for code readability.

    When triggering success event, pass response, status and XHR as arguments.
    When triggering failure event, pass XHR, status and exception as arguments.
    Fix: failure update behavior was wrong.
    committed Jan 9, 2010
  2. Added: trigger success event handler on link/form after evaluating re…

    Fixed: Chrome likes to send the request as XML, which fails when there's no body (e.g. links that post).
    committed Jan 9, 2010
Commits on Jan 8, 2010
  1. Fixed: under Chrome (possibly other browsers), jQuery DELETE/PUT conf…

    …use Rails (or just don't work), so using _method instead.
    committed Jan 8, 2010
Commits on Jan 7, 2010
  1. Remote trigger is a live event, enable it when script loads, don't wa…

    …it for page to fully load.
    committed Jan 7, 2010
  2. Added license file

    committed Jan 7, 2010
  3. Added: link_to_remote and remote_form_tag using unobtrusive JavaScrip…

    …t (HTML5 data attributes and jQuery)
    committed Jan 7, 2010
Commits on Jan 6, 2010
  1. Added modernizr

    committed Jan 6, 2010