Skip to content

Commit e778250

Browse files
committed
Fix some samples
1 parent b84d22c commit e778250

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

samples/browser-amd-monarch/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ <h2>Monarch Tokenizer Sample</h2>
2828

2929
// Define a new theme that constains only rules that match this language
3030
monaco.editor.defineTheme('myCoolTheme', {
31+
colors: {},
3132
base: 'vs',
3233
inherit: false,
3334
rules: [

samples/browser-esm-parcel/index.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
<body>
77
<h2>Monaco Editor Parcel Bundler Sample</h2>
88

9-
This sample shows how to load a small subset of the editor:
10-
<ul>
11-
<li>Only the core editor and the find widget</li>
12-
<li>Only the json language coloring</li>
13-
</ul>
14-
159
To run this sample, you need to:
1610

1711
<pre>

samples/browser-esm-vite-react/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"scripts": {
44
"dev": "vite",
55
"build": "tsc && vite build",
6-
"serve": "vite preview"
6+
"serve": "vite preview",
7+
"simpleserver": "node ../node_modules/yaserver/bin/yaserver --root ./dist --port 9999"
78
},
89
"dependencies": {},
910
"devDependencies": {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dist/*.js
22
dist/*.ttf
3+
dist/*.txt

0 commit comments

Comments
 (0)