decord/source/13610_getDevMenu.js
2026-08-04 21:03:28 +00:00

71 lines
2.6 KiB
JavaScript

// Module ID: 13610
// Function ID: 13611
// Name: getDevMenu
// Dependencies: [17]
// Exports: default
// Module 13610 (getDevMenu)
import get_ActivityIndicator from "get ActivityIndicator";
function getDevMenu() {
}
export default () => () => ({
onCommand(type) {
if ("devtools.open" === type.type) {
if ("devtools.open" === type.type) {
if (typeof closure_1 !== "function") {
HermesBuiltin.throwTypeError();
}
let obj = { reload: null, show: null, getConstants: null, debugRemotely: null, setHotLoadingEnabled: null, setProfilingEnabled: null };
obj[0] = function reload() {
console.warn("DevMenu." + "reload" + "() not available in this environment");
};
obj[1] = function show() {
console.warn("DevMenu." + "show" + "() not available in this environment");
};
obj[2] = function getConstants() {
return {};
};
obj[3] = function debugRemotely() {
console.warn("DevMenu." + "debugRemotely" + "() not available in this environment");
};
obj[4] = function setHotLoadingEnabled() {
console.warn("DevMenu." + "setHotLoadingEnabled" + "() not available in this environment");
};
obj[5] = function setProfilingEnabled() {
console.warn("DevMenu." + "setProfilingEnabled" + "() not available in this environment");
};
const OS = Platform.Platform.OS;
obj.show();
}
if ("devtools.reload" === type.type) {
if (typeof closure_1 !== "function") {
HermesBuiltin.throwTypeError();
}
obj = { reload: null, show: null, getConstants: null, debugRemotely: null, setHotLoadingEnabled: null, setProfilingEnabled: null };
obj[0] = function reload() {
console.warn("DevMenu." + "reload" + "() not available in this environment");
};
obj[1] = function show() {
console.warn("DevMenu." + "show" + "() not available in this environment");
};
obj[2] = function getConstants() {
return {};
};
obj[3] = function debugRemotely() {
console.warn("DevMenu." + "debugRemotely" + "() not available in this environment");
};
obj[4] = function setHotLoadingEnabled() {
console.warn("DevMenu." + "setHotLoadingEnabled" + "() not available in this environment");
};
obj[5] = function setProfilingEnabled() {
console.warn("DevMenu." + "setProfilingEnabled" + "() not available in this environment");
};
const OS2 = Platform.Platform.OS;
obj.reload();
}
}
}
});