defunkt/jquery-pjax — pull request #355 by karlhorky (2014-02-25 13:47:34+00:00)
Title: Fix safari 5.1.7 issue with pjax.submit

Older versions of safari return an empty string when method attribute is not set on a form (see https://gist.github.com for a live demo of the bug). This results in an error with statusText of "Error: SYNTAX_ERR: DOM Exception 12".

Fallback to a default form method of 'GET' in this case.