diff options
Diffstat (limited to 'demo/src')
| -rw-r--r-- | demo/src/compile.ts | 4 | ||||
| -rw-r--r-- | demo/src/execute.ts | 2 | ||||
| -rw-r--r-- | demo/src/index.ts | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/demo/src/compile.ts b/demo/src/compile.ts index 7ca7a72..fa846b1 100644 --- a/demo/src/compile.ts +++ b/demo/src/compile.ts @@ -12,9 +12,9 @@ export async function buildHex(source: string) { mode: 'cors', cache: 'no-cache', headers: { - 'Content-Type': 'application/json' + 'Content-Type': 'application/json', }, - body: JSON.stringify({ sketch: source }) + body: JSON.stringify({ sketch: source }), }); return (await resp.json()) as HexiResult; } diff --git a/demo/src/execute.ts b/demo/src/execute.ts index 2ba9ee0..7d56275 100644 --- a/demo/src/execute.ts +++ b/demo/src/execute.ts @@ -9,7 +9,7 @@ import { portBConfig, portCConfig, portDConfig, - usart0Config + usart0Config, } from 'avr8js'; import { loadHex } from './intelhex'; import { MicroTaskScheduler } from './task-scheduler'; diff --git a/demo/src/index.ts b/demo/src/index.ts index 5e90bb3..0e99ece 100644 --- a/demo/src/index.ts +++ b/demo/src/index.ts @@ -29,13 +29,13 @@ void loop() { declare const window: any; // eslint-disable-line @typescript-eslint/no-explicit-any declare const monaco: any; // eslint-disable-line @typescript-eslint/no-explicit-any window.require.config({ - paths: { vs: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.20.0/min/vs' } + paths: { vs: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.20.0/min/vs' }, }); window.require(['vs/editor/editor.main'], () => { editor = monaco.editor.create(document.querySelector('.code-editor'), { value: EditorHistoryUtil.getValue() || BLINK_CODE, language: 'cpp', - minimap: { enabled: false } + minimap: { enabled: false }, }); }); |
