add disable-with support for standalone remote buttons
support use of disable-with on elements using the html5 "form" attribute
Speed up submit for [novalidate] and [data-remote!=true] forms
This should be supported as the `button_to` rails helper produces the expected `data-*` attributes. Closes #352.
Don't fire ajax:send if ajax:beforeSend was cancelled. Don't disable form elements until ajax:send.
…form elements until ajax:send.
added rake to Gemfile so we can actually use the tasks from Rakefile
The versions and CDN links won't be totally mangled by the QUnit header now.
Expose CSRF Token refresh as a function
Refreshing CSRF tokens ensures that forms do not contain cached tokens. This is currently done once, when jquery-ujs is loaded. If a cached form is later loaded onto the page (say via a remote form for 'load more'), the CSRF token is not udated. This change exposes the CSRF token refreshing code at `$.rails.refreshCSRFTokens` so it can be called at will without developers having to re-implement the function.
This way `bower install` will pick always the `master` branch code.
Change snake_case usage to camelCase
The majority of the source code on this repo follows this convention so the rest should look like the same.
Do not disable elements on ctrl/cmd clicks.
Update rubygems.org URL and remove json gem dependency.
jquery-rails does not include jquery-ui anymore