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

Commit 52900e9

Browse files
committed
fix(mdx): remove comment from source
1 parent d50e5d2 commit 52900e9

File tree

10 files changed

+1636
-11
lines changed

10 files changed

+1636
-11
lines changed

package-lock.json

-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-3
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,5 @@
3939
"lerna": "^3.22.1",
4040
"lint-staged": "^10.5.3",
4141
"prettier": "^2.2.1"
42-
},
43-
"dependencies": {
44-
"vm-browserify": "^1.1.2"
4542
}
4643
}

packages/client/package-lock.json

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/client/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"react-modal": "^3.12.1",
3131
"react-pose": "^4.0.10",
3232
"screenfull": "^5.1.0",
33+
"vm-browserify": "^1.1.2",
3334
"webslides": "^1.5.0"
3435
}
3536
}

packages/client/src/utils/createVMEnv.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ export async function createVMEnv() {
1212
}
1313
const context = createContext({
1414
console: {
15-
log: (res) => {
15+
log: (...res) => {
1616
const p = document.createElement('p');
1717

18-
p.innerText = `- ${res}`;
18+
p.innerText = `- ${res.join(' ')}`;
1919
list.appendChild(p);
2020
},
2121
},

0 commit comments

Comments
 (0)