- 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.
-
- 21 Nov, 2016 1 commit
-
-
Xiaowu Zhang authored
-
- 09 Nov, 2016 1 commit
-
-
Ivan Tyagov authored
@seb , please review /reviewed-on nexedi/renderjs!7
-
- 02 Nov, 2016 1 commit
-
-
Romain Courteaud authored
* add an internal gadget state * rename __element property to element * add declareJob function * add onEvent method * 'this' in ready is now the gadget instance InlineSide-by-side
-
- 28 Oct, 2016 4 commits
-
-
Romain Courteaud authored
Changes on this state should be done by calling the changeState method. If modifications are detected, an onStateChange callback will be triggered, with the modified state keys as parameter.
-
Romain Courteaud authored
Gadget can now access their DOM element without using not needed asynchronous code.
-
Romain Courteaud authored
Jobs are executed on demand only when the gadget is in the DOM. Calling the same job a second time cancel the previous execution.
-
Romain Courteaud authored
This will declare a service to listen to a DOM event on the gadget element.
-
- 19 Sep, 2016 1 commit
-
-
Romain Courteaud authored
-
- 06 Sep, 2016 1 commit
-
-
Romain Courteaud authored
-
- 29 Jul, 2016 1 commit
-
-
Romain Courteaud authored
Improve error verbosity
-
- 12 Jul, 2016 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 11 Jul, 2016 2 commits
-
-
Romain Courteaud authored
-
Klaus Wölfel authored
-
- 07 Jul, 2016 1 commit
-
-
Romain Courteaud authored
Browser cancels all ajax requests after the beforepageunload event. This leads to the global renderJS error handling, which is unpleasant from user point of view.
-
- 06 Jul, 2016 1 commit
-
-
Romain Courteaud authored
-
- 24 Jun, 2016 1 commit
-
-
Cédric Le Ninivin authored
-
- 21 Jun, 2016 1 commit
-
-
Cédric Le Ninivin authored
Altering base url in the iframe gadget resulted in loading resources not from the gadget iframe url but from the root gadget url. This is a critical issue when the iframe gadget comes from a different domain
-
- 14 Jun, 2016 2 commits
-
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
It removes communication timeout with parent iFrame and solve the issue of timeout in case of a high load due to heavy JS processing /reviewed-on nexedi/renderjs!2
-
- 31 May, 2016 1 commit
-
-
Romain Courteaud authored
-