use standard URLSearchParams insead of custom functions

This commit is contained in:
s2
2020-01-03 18:29:29 +01:00
parent b7fa481dcb
commit 45810382b9
67 changed files with 40893 additions and 47 deletions

25
node_modules/i18next-xhr-backend/dist/es/utils.js generated vendored Normal file
View File

@@ -0,0 +1,25 @@
var arr = [];
var each = arr.forEach;
var slice = arr.slice;
export function defaults(obj) {
each.call(slice.call(arguments, 1), function (source) {
if (source) {
for (var prop in source) {
if (obj[prop] === undefined) obj[prop] = source[prop];
}
}
});
return obj;
}
export function extend(obj) {
each.call(slice.call(arguments, 1), function (source) {
if (source) {
for (var prop in source) {
obj[prop] = source[prop];
}
}
});
return obj;
}