rails/jquery-ujs — pull request #336 by MoonScript (2013-08-28 03:17:49+00:00)
Title: Speed up submit for [novalidate] and [data-remote!=true] forms

Forms submitted *with* the `novalidate` attribute or *without* the `data-remote` attribute pay the penalty of unnecessary DOM scans to find blank input elements or file elements, respectively, which are never used. This change moves those DOM scans to a point in the logic where their result could actually be used.