Merge pull request #3233 from samme/samme-patch-1

Fix wrong Extend target in MergeXHRSettings
This commit is contained in:
Richard Davey 2018-02-15 13:59:21 +00:00 committed by GitHub
commit 39c415424d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ var XHRSettings = require('./XHRSettings');
*/
var MergeXHRSettings = function (global, local)
{
var output = (global === undefined) ? XHRSettings() : Extend(global);
var output = (global === undefined) ? XHRSettings() : Extend({}, global);
if (local)
{