Skip to content

Commit e61bbe1

Browse files
committed
Merge pull request phodal#5 from wangxiaolong100/patch-2
Update 03-build-github-project.md
2 parents 81f7a63 + 683058d commit e61bbe1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chapters/03-build-github-project.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Lettuce.send = function (url, method, callback, data) {
182182

183183
在SkillTree的源码里,大致分为三部分:
184184

185-
- namespace函数: 故名思意
185+
- namespace函数: 顾名思义
186186
- Calculator也就是TalentTree,主要负责解析、生成url,头像,依赖等等
187187
- Skill 主要是tips部分。
188188

@@ -377,7 +377,7 @@ describe('Book,Link', function () {
377377
});
378378
```
379379

380-
因为我们用``require.js``来管理浏览器端,在后台写测试来测试的时候,我们也需要用他来管理我们的依赖,这也就是为什么这个测试这么从的原因,多数情况下一个测试类似于这样子的。(用Jasmine似乎会是一个更好的主意,但是用习惯Jasmine了)
380+
因为我们用``require.js``来管理浏览器端,在后台写测试来测试的时候,我们也需要用他来管理我们的依赖,这也就是为什么这个测试这么长的原因,多数情况下一个测试类似于这样子的。(用Jasmine似乎会是一个更好的主意,但是用习惯Jasmine了)
381381

382382
```javascript
383383
describe('Book Test', function () {
@@ -540,4 +540,4 @@ SQLiteHelper.prototype.getData = function (url, callback) {
540540
541541
重构完后的代码比原来还长,这似乎是个问题~~
542542
543-
---
543+
---

0 commit comments

Comments
 (0)