PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo-express/node_modules/ripple-lib/dist/npm/common
Просмотр файла: browser-hacks.js
'use strict'; // eslint-disable-line strict
function setPrototypeOf(object, prototype) {
// Object.setPrototypeOf not supported on Internet Explorer 9
/* eslint-disable */
Object.setPrototypeOf ? Object.setPrototypeOf(object, prototype) : object.__proto__ = prototype;
/* eslint-enable */
}
function getConstructorName(object) {
// hack for internet explorer
return process.browser ? object.constructor.toString().match(/^function\s+([^(]*)/)[1] : object.constructor.name;
}
module.exports = {
getConstructorName: getConstructorName,
setPrototypeOf: setPrototypeOf
};Выполнить команду
Для локальной разработки. Не используйте в интернете!