Update scratchpad.vue
This commit is contained in:
parent
2728845949
commit
80756d31b3
|
|
@ -50,7 +50,6 @@ import MkAsUi from '@/components/MkAsUi.vue';
|
|||
import { miLocalStorage } from '@/local-storage.js';
|
||||
import { claimAchievement } from '@/scripts/achievements.js';
|
||||
|
||||
const parser = new Parser();
|
||||
let aiscript: Interpreter;
|
||||
const code = ref('');
|
||||
const logs = ref<any[]>([]);
|
||||
|
|
@ -148,10 +147,6 @@ async function run() {
|
|||
}
|
||||
}
|
||||
|
||||
function highlighter(code) {
|
||||
return highlight(code, languages.js, 'javascript');
|
||||
}
|
||||
|
||||
onDeactivated(() => {
|
||||
if (aiscript) aiscript.abort();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue