Skip to content

Commit e6fe960

Browse files
ydfzgyjjonirrings
authored andcommitted
补回一部分不应去掉的英文内容 (xitu#90)
* Repair video on ‘Wrapping a REST API…’ blog post The http URL was not loadable. Changed it to https. * 补回一部分不应去掉的英文内容
1 parent ecbb160 commit e6fe960

7 files changed

+14
-14
lines changed

site/blog/20160502-rest-api-graphql-wrapper.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ However, as we mentioned before, this architecture features some inherent perfor
198198
Take the next 10 minutes to watch me build a server side version of the GraphQL wrapper above using Node and Express.
199199

200200
<iframe id="ytplayer" type="text/html" width="640" height="390"
201-
src="http://github.com/%3Cspan%20class="pl-corl">http://www.youtube.com/embed/UBGzsb2UkeY?autoplay=0&origin=http://graphql.org&start=900"
201+
src="http://github.com/%3Cspan%20class="pl-corl">https://www.youtube.com/embed/UBGzsb2UkeY?autoplay=0&origin=http://graphql.org&start=900"
202202
frameborder="0"></iframe>
203203

204204
## Bonus round: A truly Relay compliant schema

site/graphql-js/APIReference-Errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { GraphQLError } from 'graphql'; // ES6
1414
var { GraphQLError } = require('graphql'); // CommonJS
1515
```
1616

17-
## 概述
17+
## 概览
1818

1919
<ul class="apiIndex">
2020
<li>

site/graphql-js/APIReference-Execution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { execute } from 'graphql'; // ES6
1414
var { execute } = require('graphql'); // CommonJS
1515
```
1616

17-
## 概述
17+
## 概览
1818

1919
<ul class="apiIndex">
2020
<li>
@@ -27,7 +27,7 @@ var { execute } = require('graphql'); // CommonJS
2727

2828
## 执行
2929

30-
### 执行
30+
### execute
3131

3232
```js
3333
export function execute(

site/graphql-js/APIReference-GraphQL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { graphql } from 'graphql'; // ES6
1313
var { graphql } = require('graphql'); // CommonJS
1414
```
1515

16-
## 概述
16+
## 概览
1717

1818
**入口点**
1919

site/graphql-js/APIReference-Language.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { Source } from 'graphql'; // ES6
1414
var { Source } = require('graphql'); // CommonJS
1515
```
1616

17-
## 概述
17+
## 概览
1818

1919
**Source**
2020

@@ -33,7 +33,7 @@ var { Source } = require('graphql'); // CommonJS
3333
</li>
3434
</ul>
3535

36-
**词法分析器**
36+
**词法分析器(Lexer)**
3737

3838
<ul class="apiIndex">
3939
<li>
@@ -44,7 +44,7 @@ var { Source } = require('graphql'); // CommonJS
4444
</li>
4545
</ul>
4646

47-
**解析器**
47+
**解析器(Parser)**
4848

4949
<ul class="apiIndex">
5050
<li>
@@ -120,7 +120,7 @@ type SourceLocation = {
120120
121121
接收一个 Source 对象和一个 UTF-8 编码的字符偏移量作为参数,返回一个 SourceLocation 对象,包含相关的行列位置信息。
122122
123-
## 词法分析器
123+
## 词法分析器(Lexer)
124124
125125
### lex
126126
@@ -141,7 +141,7 @@ export type Token = {
141141
142142
词法分析器函数的参数是可选的,而且可被用于在 Source 里将词法分析器回退或者前进到某个新位置。
143143
144-
## 解析器
144+
## 解析器(Parser)
145145
146146
### parse
147147

site/graphql-js/APIReference-TypeSystem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ var { GraphQLSchema } = require('graphql'); // CommonJS
131131
</li>
132132
</ul>
133133

134-
**标量(Scalar)类型**
134+
**标量类型(Scalars)**
135135

136136
<ul class="apiIndex">
137137
<li>
@@ -595,7 +595,7 @@ function getNamedType(type: ?GraphQLType): ?GraphQLNamedType
595595
596596
若该类型是非空类型或列表类型的包装结果,该函数会去掉包装,返回原先的类型。
597597
598-
## Scalars
598+
## 标量类型(Scalars
599599
600600
### GraphQLInt
601601

site/graphql-js/APIReference-Utilities.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var { introspectionQuery } = require('graphql'); // CommonJS
1616

1717
## 概览
1818

19-
**内省**
19+
**内省(Introspection)**
2020

2121
<ul class="apiIndex">
2222
<li>
@@ -102,7 +102,7 @@ var { introspectionQuery } = require('graphql'); // CommonJS
102102
</li>
103103
</ul>
104104

105-
## 内省
105+
## 内省(Introspection)
106106

107107
### introspectionQuery
108108

0 commit comments

Comments
 (0)