- Replaced broken .NET backend with Node.js/Express - Restored original website design with purple gradient hero - Updated homepage and shop pages with Bootstrap 5 responsive design - Disabled GitHub remote sync - all code now stored locally only - Created backup scripts and documentation - All changes saved on Ubuntu server at /var/www/SkyArtShop
20 lines
687 B
JavaScript
20 lines
687 B
JavaScript
'use strict';
|
|
|
|
var GetIntrinsic = require('get-intrinsic');
|
|
|
|
var callBindBasic = require('call-bind-apply-helpers');
|
|
|
|
/** @type {(thisArg: string, searchString: string, position?: number) => number} */
|
|
var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);
|
|
|
|
/** @type {import('.')} */
|
|
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
/* eslint no-extra-parens: 0 */
|
|
|
|
var intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */ (GetIntrinsic(name, !!allowMissing));
|
|
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
return callBindBasic(/** @type {const} */ ([intrinsic]));
|
|
}
|
|
return intrinsic;
|
|
};
|