Use the same options object in handle-response as in send-request #148

Merged
BehindTheMath merged 3 commits from fix/options-and-state into master 2018-04-26 08:27:51 -05:00

3 Commits

Author SHA1 Message Date
Behind The Math
e35b831228 Always clone the options object so we don't mutate the original 2018-04-25 21:15:59 -04:00
Behind The Math
1aebbcc502 Revert removing the JSCS enable comment 2018-04-22 18:25:26 -04:00
Behind The Math
59bd0fb595 Use the same options object in handle-response as in send-request
Instead of cloning this.options again in handle-response.js, pass
the options object from send-request.js. This way,
pjax.state.options will also have the request options.
2018-04-12 18:26:02 -04:00