docs: fix typos

This commit is contained in:
Chen Fengyuan
2019-01-23 15:06:56 +08:00
parent 46981f6b9a
commit 7d266f0ce7
14 changed files with 32 additions and 36 deletions
+2 -2
View File
@@ -803,7 +803,7 @@ jsx`
`
```
上面的代码通过`jsx`函数,将一个 DOM 字符串转为 React 对象。你可以在 Github 找到`jsx`函数的[具体实现](https://gist.github.com/lygaret/a68220defa69174bdec5)。
上面的代码通过`jsx`函数,将一个 DOM 字符串转为 React 对象。你可以在 GitHub 找到`jsx`函数的[具体实现](https://gist.github.com/lygaret/a68220defa69174bdec5)。
下面则是一个假想的例子,通过`java`函数,在 JavaScript 代码之中运行 Java 代码。
@@ -811,7 +811,7 @@ jsx`
java`
class HelloWorldApp {
public static void main(String[] args) {
System.out.println(Hello World!); // Display the string.
System.out.println("Hello World!"); // Display the string.
}
}
`