-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ignore a few files that are generated from tests. * Update the MonacoEditor to v0.43.0 from v0.31.0 * Fix WebR chunks not working with Safari browser #21 by re-arranging the load steps for MonacoEditor The `loader.js` and `require.config()` initialization is set to happen at the top of the document's <body> instead of the <head>. * Fix #28 by re-registering keyboard shortcuts. * Bump extension version to 0.3.2
- Loading branch information
Showing
6 changed files
with
47 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
/.luarc.json | ||
*_files | ||
webr-worker.js | ||
webr-serviceworker.js | ||
webr-*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/min/vs/loader.js"></script> | ||
<script type="module"> | ||
|
||
// Configure the Monaco Editor's loader | ||
require.config({ | ||
paths: { | ||
'vs': 'https://cdn.jsdelivr.net/npm/[email protected]/min/vs' | ||
} | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/min/vs/editor/editor.main.css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/min/vs/editor/editor.main.css" /> | ||
|
||
<style> | ||
.monaco-editor pre { | ||
background-color: unset !important; | ||
|
@@ -10,16 +11,8 @@ | |
border-bottom-right-radius: 0; | ||
} | ||
</style> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/min/vs/loader.js"></script> | ||
<script type="module"> | ||
|
||
// Configure the Monaco Editor's loader | ||
require.config({ | ||
paths: { | ||
'vs': 'https://cdn.jsdelivr.net/npm/[email protected]/min/vs' | ||
} | ||
}); | ||
|
||
<script type="module"> | ||
|
||
// Start a timer | ||
const initializeWebRTimerStart = performance.now(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters