- 18 Mar, 2020 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 26 Feb, 2020 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Ensure to cancel the ongoing promise if queue is cancelled.
-
- 30 Jan, 2020 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 29 Jan, 2020 1 commit
-
-
Romain Courteaud authored
-
- 26 Nov, 2018 3 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
This reduces the number of DOM modifications (only one replace). This also ensure that the element content is empty. Previous event listener will also be discarded (and so, reduce memory usage). declareGadget element parameter can now also be a tag name.
-
- 12 Nov, 2018 1 commit
-
-
Romain Courteaud authored
-
- 14 Sep, 2018 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 10 Aug, 2018 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 29 Jun, 2018 1 commit
-
-
Romain Courteaud authored
-
- 25 Jun, 2018 1 commit
-
-
Romain Courteaud authored
This will simplify error catching.
-
- 18 May, 2018 12 commits
-
-
Romain Courteaud authored
Contains speed optimizations, mostly by reducing the number of promise created. This reduce the garbage collection load.
-
Romain Courteaud authored
-
Romain Courteaud authored
No need to execute async code if the gadget class is already loaded.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Reuse Queue created from callback directly.
-
Romain Courteaud authored
No need to wait for async result when no acquired method is defined.
-
- 17 Jan, 2018 6 commits
-
-
Romain Courteaud authored
Add mutex support in declareMethod.
-
Tristan Cavelier authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Example: rJS(window).declareMethod('getFoo', function () {}, {mutex: 'foo'}) It will prevent 2 concurrent execution of the getFoo calls. The same mutex can be used by other methods if the same name 'foo' is used.
-
Romain Courteaud authored
Mutex execution should be cancellable. callback should always be cancellable without preventing the mutex to be released.
-
Romain Courteaud authored
-
- 25 Oct, 2017 5 commits
-
-
Romain Courteaud authored
Fix a memory leak.
-
Romain Courteaud authored
-
Romain Courteaud authored
Seems the .then method never realse the memory if the original promise is kept. Manually create new promise instead each time.
-
Romain Courteaud authored
-
Romain Courteaud authored
-