decord/source/13703_getDevMenu.js

72 lines
2.6 KiB
JavaScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 13703
// Function ID: 13704
2026-07-29 08:29:29 +00:00
// Name: getDevMenu
// Dependencies: [17]
// Exports: default
2026-08-08 06:10:11 +00:00
// Module 13703 (getDevMenu)
2026-07-29 08:29:29 +00:00
import get_ActivityIndicator from "get ActivityIndicator";
function getDevMenu() {
}
export default () => () => ({
onCommand(type) {
if ("devtools.open" === type.type) {
if ("devtools.open" === type.type) {
2026-08-04 21:03:28 +00:00
if (typeof closure_1 !== "function") {
2026-07-29 08:29:29 +00:00
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) {
2026-08-04 21:03:28 +00:00
if (typeof closure_1 !== "function") {
2026-07-29 08:29:29 +00:00
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();
}
}
}
});