Skip to content

Commit acc5175

Browse files
committed
修复 JS JSDoc 的拼写错误
1 parent e59ac30 commit acc5175

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

chapters/03-build-github-project.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Lettuce.send = function (url, method, callback, data) {
186186
- Calculator也就是TalentTree,主要负责解析、生成url,头像,依赖等等
187187
- Skill 主要是tips部分。
188188

189-
而这一些都在一个js里,对于一个库来说,是一件好事,但是对于一个项目来说,并非如此。
189+
而这一些都在一个 JS 里,对于一个库来说,是一件好事,但是对于一个项目来说,并非如此。
190190

191191
依赖的库有
192192

@@ -220,7 +220,7 @@ require(['lib/knockout', 'scripts/TalentTree', 'json!data/web.json'], function(k
220220
});
221221
```
222222

223-
text、json插件主要是用于处理web.json,即用json来处理技能,于是不同的类到了不同的js文件
223+
text、json插件主要是用于处理web.json,即用json来处理技能,于是不同的类到了不同的 JS 文件
224224

225225
.
226226
|____Book.js
@@ -316,12 +316,12 @@ branches:
316316

317317
> JSLint定义了一组编码约定,这比ECMA定义的语言更为严格。这些编码约定汲取了多年来的丰富编码经验,并以一条年代久远的编程原则 作为宗旨:能做并不意味着应该做。JSLint会对它认为有的编码实践加标志,另外还会指出哪些是明显的错误,从而促使你养成好的 JavaScript编码习惯。
318318
319-
当我们的js写得不合理的时候,这时测试就无法通过:
319+
当我们的 JS 写得不合理的时候,这时测试就无法通过:
320320

321321
line 5 col 25 A constructor name should start with an uppercase letter.
322322
line 21 col 62 Strings must use singlequote.
323323

324-
这是一种驱动写出更规范js的方法
324+
这是一种驱动写出更规范 JS 的方法
325325

326326

327327
### Mocha

chapters/08-github-marketing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ WTF!
162162

163163
![Lodash 示例](./img/lodash-code-example.png)
164164

165-
上图是使用了 jsdoc 的 Lodash 示例。
165+
上图是使用了 JSDoc 的 Lodash 示例。
166166

167167
除了上面的示例,我们还可以录制一些视频,写一些文章说明项目的思考、架构等等。
168168

chapters/14-streak-your-github.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ GitHub连击
204204
- Ionic:开始Hybird移动应用。
205205
- Django:Python Web开发利器。
206206
- Flask:Python Web开发小刀。
207-
- RequireJS:管理js依赖
207+
- RequireJS:管理 JS 依赖
208208
- Backbone:Model + View + Router。
209209
- Angluar:...。
210210
- Knockout:MVV*

0 commit comments

Comments
 (0)