This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MIT License (C) Minigugus 2021 | |
/** | |
* Handy reactive state management inspired by Vue 3. | |
* | |
* You might be insterested by this lib if: | |
* * Your project targets an old browser (this code should support IE9 without transform) | |
* * You like to Keep It Simple | |
* * You're a VanillaJS lover but also a declarative state management lover | |
* * You have to prototype/develop fast but: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MIT License (C) Minigugus 2021 | |
/** | |
* @template T | |
* @param {T} value | |
* @class | |
*/ | |
function Ref(value, debounce = 0) { | |
if (typeof self === 'undefined') | |
return new Ref(value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* A HTTP Source for Aurora.JS (https://github.com/audiocogs/aurora.js) allowing real-time decoding and playing. | |
* Use fetch & Streams API in order to process the response in real-time. | |
* | |
* Example : | |
* | |
* var player = new AV.Player(new AV.Asset(new HTTPLiveSource('http://example.com/live.aac'))) | |
* player.play(); | |
* | |
*/ |