- 18 May, 2018 10 commits
-
-
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 6 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
-
Romain Courteaud authored
This will make JS stack more readable.
-
- 20 Sep, 2017 1 commit
-
-
Romain Courteaud authored
-
- 12 Sep, 2017 2 commits
-
-
Sven Franck authored
/reviewed-on !12
-
Sven Franck authored
/reviewed-on nexedi/renderjs!11
-
- 05 Sep, 2017 1 commit
-
-
Romain Courteaud authored
-
- 07 Aug, 2017 4 commits
-
-
Romain Courteaud authored
Iframe: ensure all channels are OK before calling ready
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 24 Jul, 2017 1 commit
-
-
Romain Courteaud authored
Do not update jslint version which deprecates indentation options.
-
- 26 Jun, 2017 2 commits
-
-
Romain Courteaud authored
Add onLoop service. Allow manualBootstrap.
-
Romain Courteaud authored
-
- 29 Mar, 2017 1 commit
-
-
Sebastian authored
The inital loaded HTML does not contain anything of renderjs and gets added only after pageload. Instead of registering init() for the DOMContentLoaded event directly, a deferred promise is used which gets resolve either by the event, or by a manual call of rJS.manualBootstrap(). Tests: * injects rsvp/renderjs in a blank iframe * makes sure renderjs is only present after it was injected * calls manual bootstrap to initialzed renderjs * creates small test gadget to ensure renderjs is working within the iframe (after bootstrap was executed)
-
- 27 Feb, 2017 1 commit
-
-
Romain Courteaud authored
onStateChanges bug fixes
-
- 24 Feb, 2017 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 18 Jan, 2017 1 commit
-
-
Romain Courteaud authored
Nearly drop iframe timeout. Add reportGadgetDeclarationError acquired method.
-
- 17 Jan, 2017 1 commit
-
-
Romain Courteaud authored
-
- 16 Jan, 2017 1 commit
-
-
Romain Courteaud authored
This can be used to catched loading errors from HTML gadget declaration. This will prevent the parent gadget to fail.
-