Michael Yin

Results 45 comments of Michael Yin

This can be a workaround to manually implement the `partialRefetch` behaviour. ``` // workaround for partialRefetch useEffect(() => { if (loading) return; if (data) return; if (error) return; // if...

可以, 等我加上这个功能

不能,其实不用控制啊,自动地去下载更方便。

而且,这个离线取回是单线程的,基本上不会影响玩游戏上网的网速(如果开网页,会把它的速度挤开),所以也不用担心占网速啦

> 只針對某些任務下載。關於這個,迅雷離綫有時候會用在其他地方,有時候我只是想加速,並不想拉到NAS裏。其實就是個“開始”的功能,不是自動下載的那種。 > by superai

mp4 格式其实越来越流行了,很多高清资源都以这个格式发了,建议到 http://kickass.to/ 上找电影。(其实现在在 ios 上已经可以直接看了, android 还没试过),但是现在字幕是硬伤,很多首发资源都是没字幕的,或者字幕和影片是分成不同文件的,得想办法简化操作才行。

@sicode 其实还有一个,http://thepiratebay.se/ 这个可能被墙了(就是传说中的海盗湾),资源更多一些,但是分类有点乱。老招牌。

Hi @jmuheim sorry I've been super non-efficient on this project recently. Can you try `stopImmediatePropagation`(https://developer.mozilla.org/en-US/docs/Web/API/Event/stopImmediatePropagation), that's preventing an event propagating from the same DOM object. (while stopProgapagtion is preventing that...

@jmuheim Oops sorry, try handle that in the paste events ``` $('textarea').on('paste', ev => { ev.preventDefault(); // this might stop default behaviour of inserting text ev.stopImmediatePropagation(); // this will stop...

Ideally we should not insert text when `isDefaultPrevented` is true, in paste.js. 😅 But the above (handling `paste` event) can be a workaround / quickfix.