Aleen

Results 82 comments of Aleen

There are some alternatives: - https://github.com/mathiasbynens/utf8.js - https://github.com/inexorabletash/text-encoding

I have created https://github.com/aleen42/core-web to try to eliminate different behaviours of Web APIs through different browsers and is there any suggestion or lists of collected polyfill? @zloirock

那看来是源有问题,我用 youtube-dl 一样 REF: - https://github.com/ytdl-org/youtube-dl/issues/29326 - https://www.reddit.com/r/DataHoarder/comments/q2qsip/youtubedl_randomly_slow_speed_60kbs/

@TiagoSilvaPereira more exactly? how to use try catch to reset the capturer

Oh, @TiagoSilvaPereira I see your way, and just work for me, too. Thx.

@axaq, firstly, go to the library and find the following snippet in the file `CCapture.js`: ```js function _init() { _log('Capturer start'); _startTime = window.Date.now(); _time = _startTime + _settings.startTime; _performanceStartTime...

Recently, I have found that if I used PhantomJS headless integrated with jasmine to test the following case, it should block and keep executing until timeout: ```js it('test Uint8Array', ()...

What if I can draw it in JavaScript via the technique metioned [here](https://aleen42.github.io/PersonalWiki/post/how_to_draw/how_to_draw.html). Just wait for your documentation around how to creating tree, rock, and moutains.

不才之前使用的一种方案:通过 `requestAnimationFrame()` 来计算,不知是否有帮助呢? ```js function fps(callback) { var requestAnimationFrame = /** Chromium */ window.requestAnimationFrame || /** Webkit */ window.webkitRequestAnimationFrame || /** Mozilla Geko */ window.mozRequestAnimationFrame || /** Opera Presto */...