- 25 Oct, 2017 4 commits
-
-
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.
-
- 21 Nov, 2016 1 commit
-
-
Xiaowu Zhang authored
-
- 09 Nov, 2016 1 commit
-
-
Ivan Tyagov authored
@seb , please review /reviewed-on !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 3 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.
-