feat(board): python_pyodide板卡状态栏添加新tab 生命游戏
This commit is contained in:
@@ -15,6 +15,7 @@ import { KernelLoader } from '@basthon/kernel-loader';
|
||||
import StatusBarImage from './statusbar-image';
|
||||
import StatusBarFileSystem from './statusbar-filesystem';
|
||||
import StatusBarTool from './statusbar-tool';
|
||||
import StatusBarGame from './statusbar-game';
|
||||
import TeachableMachineApp from './teachableMachine/App.vue';
|
||||
import LOADER_TEMPLATE from '../templates/html/loader.html';
|
||||
|
||||
@@ -63,6 +64,7 @@ export default class PythonShell {
|
||||
this.statusBarTool = StatusBarTool.init();
|
||||
const teachableMachineApp = createApp(TeachableMachineApp);
|
||||
teachableMachineApp.mount(this.statusBarTool.getContent()[0]);
|
||||
this.statusBarGame = StatusBarGame.init();
|
||||
this.pythonShell = new PythonShell();
|
||||
this.pyodide = window.pyodide;
|
||||
this.interruptBuffer = new Uint8Array(new ArrayBuffer(1));
|
||||
|
||||
Reference in New Issue
Block a user