decord/source/13249_getDevMenu.js

51 lines
1.1 KiB
JavaScript
Raw Normal View History

2026-07-22 07:54:56 +00:00
// Module ID: 13249
// Function ID: 100516
2026-07-20 16:05:17 +00:00
// Name: getDevMenu
// Dependencies: []
// Exports: default
2026-07-22 07:54:56 +00:00
// Module 13249 (getDevMenu)
2026-07-20 16:05:17 +00:00
let closure_0 = require(dependencyMap[0]);
function getDevMenu() {
function notAvailable(debugRemotely) {
console.warn("DevMenu." + debugRemotely + "() not available in this environment");
}
return {
reload() {
notAvailable("reload");
},
show() {
notAvailable("show");
},
getConstants() {
return {};
},
debugRemotely() {
notAvailable("debugRemotely");
},
setHotLoadingEnabled() {
notAvailable("setHotLoadingEnabled");
},
setProfilingEnabled() {
notAvailable("setProfilingEnabled");
}
};
}
export default function devTools() {
return () => ({
onCommand(type) {
if ("devtools.open" === type.type) {
if ("devtools.open" === type.type) {
callback().show();
const obj = callback();
}
if ("devtools.reload" === type.type) {
callback().reload();
const obj2 = callback();
}
}
}
});
};