- 17 Jan, 2018 4 commits
-
-
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 nexedi/renderjs!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.
-
- 13 Jan, 2017 2 commits
-
-
Romain Courteaud authored
This should improve renderJS usage on slow network.
-
Romain Courteaud authored
-
- 06 Dec, 2016 4 commits
-
-
Romain Courteaud authored
Performance improvements.
-
Romain Courteaud authored
Allow browser to fetch the JS files in parallel. Loading should stay synchronous.
-
Romain Courteaud authored
-
Romain Courteaud authored
Speed up loading the declarative sub gadget definition.
-
- 05 Dec, 2016 1 commit
-
-
Romain Courteaud authored
Use document fragment to add all dependencies with one DOM call only.
-
- 02 Dec, 2016 1 commit
-
-
Romain Courteaud authored
Do not create a DOM document to calculate an URL.
-
- 24 Nov, 2016 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Resetting the internal gadget state leads to unexpecting errors, and so, it was a bad idea.
-
- 23 Nov, 2016 1 commit
-
-
Romain Courteaud authored
-
- 22 Nov, 2016 1 commit
-
-
Romain Courteaud authored
In case of onStateChange cancellation/error, reset the internal gadget state. It will simplify the code of each onStateChange function, as developpers will not have to handle such issue.
-