defunkt/jquery-pjax — pull request #203 by lucisferre (2012-10-03 19:32:32+00:00)
Title: Fix problems when there are multiple different data-pjax container values

This fixes problems where there are multiple links each with different
containers specified in their 'data-pjax' option. Once the first link is
clicked it sets the options.container value which is used by all
subsequent clicks.

This only occurs if a value is passed for the options parameter.

`$(document).pjax('a[data-pjax]', { timeout: 5000})` will cause problems
but just `$(document).pjax('a[data-pjax]') will not.

The fix simply clones the options to avoid changing the original
parameter values