diff --git a/docs/.vuepress/components/Figures.vue b/docs/.vuepress/components/Figures.vue new file mode 100644 index 0000000000000000000000000000000000000000..9d3bd3f154c3d3565769efe4df9990a0bdffb501 --- /dev/null +++ b/docs/.vuepress/components/Figures.vue @@ -0,0 +1,54 @@ + + + + + \ No newline at end of file diff --git a/docs/ch1.md b/docs/ch1.md index 3e4c5c8591ee778b2712d18fc417f39c7ea53d64..ef661b24e15a17d1f14278396ad763ca78d4686a 100644 --- a/docs/ch1.md +++ b/docs/ch1.md @@ -55,8 +55,7 @@ The easiest way to try out a few lines of JavaScript is to open up the web devel > 尝试几行JavaScript的最简单方法是在web浏览器中打开web developer工具(使用F12、Ctrl-Shift-I或Command-Option-I)并选择Console选项卡。然后可以在提示符处键入代码,并在键入时查看结果。浏览器开发人员工具通常以窗格的形式出现在浏览器窗口的底部或右侧,但是您通常可以将它们分离为单独的窗口(如图1-1所示),这通常非常方便。 -js7e 0101 -Figure 1-1. The JavaScript console in Firefox’s Developer Tools +The JavaScript console in Firefox’s Developer Tools Another way to try out JavaScript code is to download and install Node from https://nodejs.org. Once Node is installed on your system, you can simply open a Terminal window and type node to begin an interactive JavaScript session like this one: