aboutsummaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
Diffstat (limited to 'demo')
-rw-r--r--demo/src/compile.ts4
-rw-r--r--demo/src/execute.ts2
-rw-r--r--demo/src/index.ts4
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 },
});
});
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.