REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 935 B
Close
//home/byroehnu/easepay.easetack.com/node_modules/i18next-http-backend/lib/utils.js
Text
Base64
const arr = [] const each = arr.forEach const slice = arr.slice export function defaults (obj) { each.call(slice.call(arguments, 1), (source) => { if (source) { for (const prop in source) { if (obj[prop] === undefined) obj[prop] = source[prop] } } }) return obj } export function hasXMLHttpRequest () { return (typeof XMLHttpRequest === 'function' || typeof XMLHttpRequest === 'object') } /** * Determine whether the given `maybePromise` is a Promise. * * @param {*} maybePromise * * @returns {Boolean} */ function isPromise (maybePromise) { return !!maybePromise && typeof maybePromise.then === 'function' } /** * Convert any value to a Promise than will resolve to this value. * * @param {*} maybePromise * * @returns {Promise} */ export function makePromise (maybePromise) { if (isPromise(maybePromise)) { return maybePromise } return Promise.resolve(maybePromise) }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
.htaccess
127 B
lr--r--r--
2026-03-14 01:49:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
getFetch.cjs
475 B
lrw-r--r--
2026-02-28 00:27:00
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
6.00 KB
lrw-r--r--
2026-02-28 00:28:02
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
request.js
5.74 KB
lrw-r--r--
2026-02-28 00:28:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
utils.js
935 B
lrw-r--r--
2026-02-28 00:28:26
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).