未验证 提交 80d34575 编写于 作者: T Tal Koren 提交者: GitHub

Remove duplicated header

上级 e40cae42
......@@ -224,9 +224,6 @@ personFetcher.fetch('John');
## Migrating from callbacks to promises
Migrating from callbacks to promises
------------------------------------
The `result` parameter of the fulfilled promise value is equivalent to the first parameter in [`execute`](/api-client-library/javascript/reference/referencedocs#gapiclientRequestexecute)'s callback. To update your code to use promises, change your code as shown in the before and after examples below.
The following example shows using a callback:
......@@ -249,4 +246,4 @@ gapi.client.request({
}).then(function(resp) {
processResponse(resp.result);
});
```
\ No newline at end of file
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册