Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加fetchJsonp timeout 文档说明 #36

Open
jennyliang220 opened this issue Dec 12, 2017 · 1 comment
Open

添加fetchJsonp timeout 文档说明 #36

jennyliang220 opened this issue Dec 12, 2017 · 1 comment
Assignees

Comments

@jennyliang220
Copy link
Member

jennyliang220 commented Dec 12, 2017

fetchJsonp源码存在timeout配置项:https://github.com/mipengine/mip/blob/d0ae58fa678dd7ba0d9346f2a542654f8ef0df7b/deps/fetch-jsonp.js#L17 但doc文档中并没有相应说明。

@xuexb
Copy link
Contributor

xuexb commented Dec 12, 2017

我们的 开发工具和模块文档 中有介绍使用了 fetch-jsonp 模块,并给了个跳转链接,跳转到对应的库文档后,是有对应的参数说明,如:

https://github.com/camsong/fetch-jsonp#set-jsonp-request-timeout-default-is-5000ms

但,不得不说我们的文档是相当的挫,我承认。 甚至我都想重写整个核心API方法的文档了,哪怕是夜里加班。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants