Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.

Commit 59b398e

Browse files
committed
(add) editor init string with reture 0;
1 parent b61e8be commit 59b398e

File tree

4 files changed

+7424
-19
lines changed

4 files changed

+7424
-19
lines changed

Diff for: content/constants.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
export default {
22
INIT_STRING: `#include <stdio.h>
33
int main() {
4-
4+
5+
return 0;
56
}`,
6-
supportFonts: `'D2Coding ligature', D2Coding, monospace`,
7+
supportFonts: `'D2Coding ligature', 'D2Coding', 'monospace'`,
78
id: {
89
toggleButton: 'edit_area_toggle_checkbox_source'
910
}

Diff for: content/main.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,4 @@ chrome.storage.sync.get(
9696
// Auto Enable Ace editor
9797

9898
// set submit shortcut
99-
submitWith('F9');
100-
101-
// get problem information from before page
99+
submitWith('F9');

0 commit comments

Comments
 (0)