Skip to content

Commit 9849c12

Browse files
yidafuyidafu
and
yidafu
authored
remove swc-binding (#11)
* Update how-kotlin-jupyter-work.zh-CN.md * docs: update how-kotlin-jupyter-work.zh-CN.md * refactor: migrate swc-binding to yidafu/swc-binding --------- Co-authored-by: yidafu <[email protected]>
1 parent 6836521 commit 9849c12

File tree

274 files changed

+2
-49581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

274 files changed

+2
-49581
lines changed

docs/how-kotlin-jupyter-work.zh-CN.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ Kotlin 里并没有一个好的工具了来编译 JS。常见的 JS 编译工具
180180
对于 React, Jupyter 会将默认导出转换变量声明
181181

182182
比如,下面的例子:
183+
183184
```js
184185
export function App() {
185186
return <span>React</span>
@@ -192,7 +193,7 @@ const __JupyterCellDefaultExportVariable__ = function App() {
192193
return <span>React</span>
193194
}
194195
const root = createRoot(cellElement);
195-
root.render(React.createElement($JSX_DEFAULT_EXPORT_VARIABLE_NAME))
196+
root.render(React.createElement(__JupyterCellDefaultExportVariable__))
196197
```
197198

198199
## 尾声

settings.gradle.kts

-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,4 @@ includeBuild("build-plugin")
3232
rootProject.name = "kotlin-notebook-js"
3333

3434
include("jupyter-js")
35-
include("swc-binding")
36-
project(":swc-binding").name = "swc-binding"
3735
project(":jupyter-js").name = "jupyter-js"

swc-binding/.gitignore

-220
This file was deleted.

swc-binding/Cargo.toml

-33
This file was deleted.

swc-binding/README.md

-95
This file was deleted.

0 commit comments

Comments
 (0)