Harrison

Results 10 comments of Harrison

2.1 里面 `Singleton()` 构造函数的 `this.instance` 没有用吧?

@zhiqiang21 我的看法是这样的: ```js var Singleton = function(name) { this.name = name; // 这个 this 是 Singleton 的实例 this.instance = null; }; // ... Singleton.getInstance = function(name) { // 这里的 this...

dispatch 加锁不是因为多个 action 同时发送吧,单线程哪来的同时发送,还不是按顺序执行吗 搜了一下是为了避免在 reducer 里调用 dispatch https://github.com/reduxjs/redux/issues/1668#issuecomment-214672679

My idea is like a "disapproved package lists" [[RRFC] Allow set forbidden dependencies in package.json](https://github.com/npm/rfcs/issues/432) 😂

芜湖,竟然有人提 issue,刚看到。。

fork 完了还得把配置改成你自己的,就是文档里最后那段 picgo 的问题:https://github.com/harrisoff/onedrive-api/issues/1

https://github.com/harrisoff/onedrive-api/blob/master/README.zh-cn.md

1. 文件大小[有限制](https://github.com/harrisoff/onedrive-api/blob/master/NOTES.md#4-%E5%A4%A7%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0) 2. 如果上传+分享成功,url 里的 undefined 应该是一个 `shareId` 字符串,可以看一下请求里面哪一步失败了