Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 27, 2010
Commits on Jan 21, 2010
  1. link_to options confirm, popup and method now handled using unobtrusi…

    authored
    …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>
Commits on Jan 19, 2010
Commits on Jan 16, 2010
  1. Upgrade to jQuery 1.4.

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

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

    authored
    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.
  2. Added: trigger success event handler on link/form after evaluating re…

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

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

    authored
    …it for page to fully load.
  2. Added license file

    authored
  3. Added: link_to_remote and remote_form_tag using unobtrusive JavaScrip…

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

    authored
Something went wrong with that request. Please try again.