Skip to content

Commit

Permalink
Upgrade monaco-editor from 0.45.0 to 0.47.0 (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless authored Mar 25, 2024
1 parent 14a320a commit 84c4c63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _extensions/webr/qwebr-monaco-editor-init.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<script src="https://cdn.jsdelivr.net/npm/monaco-editor@0.45.0/min/vs/loader.js"></script>
<script src="https://cdn.jsdelivr.net/npm/monaco-editor@0.47.0/min/vs/loader.js"></script>
<script type="module" id="qwebr-monaco-editor-init">

// Configure the Monaco Editor's loader
require.config({
paths: {
'vs': 'https://cdn.jsdelivr.net/npm/monaco-editor@0.45.0/min/vs'
'vs': 'https://cdn.jsdelivr.net/npm/monaco-editor@0.47.0/min/vs'
}
});
</script>
2 changes: 1 addition & 1 deletion _extensions/webr/webr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ local function ensureWebRSetup()
-- Embed Support Files to Avoid Resource Registration Issues
-- Note: We're not able to use embed-resources due to the web assembly binary and the potential for additional service worker files.
quarto.doc.include_text("in-header", [[
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/monaco-editor@0.45.0/min/vs/editor/editor.main.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/monaco-editor@0.47.0/min/vs/editor/editor.main.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" />
]])

Expand Down

0 comments on commit 84c4c63

Please sign in to comment.