先提交到云仓库
结论:已提交当前 Python-remap proof 链路、runtime/browser/UI/docs 相关变更;保持 L4-PYTHON-REMAP inventory baseline 不直接批量 PASS。
This commit is contained in:
@@ -11,10 +11,6 @@ function postError(id, type, error) {
|
||||
});
|
||||
}
|
||||
|
||||
function pythonRuntimeAvailable() {
|
||||
return typeof self.loadPyodide === "function" || Boolean(self.pyodide?.runPythonAsync);
|
||||
}
|
||||
|
||||
function getRuntimeProvider() {
|
||||
return self.linuxCncPythonRemapRuntimeProvider ?? null;
|
||||
}
|
||||
@@ -77,7 +73,7 @@ self.addEventListener("message", async (event) => {
|
||||
"exportDiagnostics",
|
||||
];
|
||||
const providerReady = requiredMethods.every((method) => typeof provider?.[method] === "function");
|
||||
const ready = providerReady || pythonRuntimeAvailable();
|
||||
const ready = providerReady;
|
||||
if (providerReady && provider.start) {
|
||||
await provider.start(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user