An error occurred fetching the project authors.
  1. 18 May, 2018 2 commits
  2. 17 Jan, 2018 1 commit
    • Romain Courteaud's avatar
      Add mutex implementation. · 428d97dd
      Romain Courteaud authored
      Mutex execution should be cancellable.
      callback should always be cancellable without preventing the mutex to be released.
      428d97dd
  3. 25 Oct, 2017 1 commit
  4. 05 Sep, 2017 1 commit
  5. 07 Aug, 2017 2 commits
  6. 26 Jun, 2017 1 commit
  7. 29 Mar, 2017 1 commit
    • Sebastian's avatar
      Allow renderjs from JS only, without initial gadget-tag/script-tag · 5606fe76
      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)
      5606fe76
  8. 24 Feb, 2017 2 commits
  9. 17 Jan, 2017 1 commit
  10. 16 Jan, 2017 1 commit
  11. 13 Jan, 2017 1 commit
  12. 05 Dec, 2016 1 commit
  13. 24 Nov, 2016 1 commit
  14. 22 Nov, 2016 1 commit
    • Romain Courteaud's avatar
      Reset gadget state in case of error. · 53cfcd0b
      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.
      53cfcd0b
  15. 21 Nov, 2016 1 commit
  16. 28 Oct, 2016 4 commits
  17. 06 Sep, 2016 1 commit
  18. 12 Jul, 2016 1 commit
  19. 11 Jul, 2016 1 commit
  20. 07 Jul, 2016 1 commit
    • Romain Courteaud's avatar
      Do not crash during page unload. · cdf44572
      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.
      cdf44572
  21. 21 Jun, 2016 1 commit
  22. 14 Jun, 2016 1 commit
  23. 31 May, 2016 1 commit
  24. 08 Apr, 2016 2 commits
  25. 21 Aug, 2015 1 commit
    • Romain Courteaud's avatar
      Add the 'dataurl' sandbox. · eb32a211
      Romain Courteaud authored
      This sandbox download the gadget HTML code and convert it as a dataurl which is loaded in an iframe.
      This may help to bypass web browser mixed content policy or CSP restrictions (like inline js).
      eb32a211
  26. 04 Dec, 2014 1 commit
  27. 20 Nov, 2014 2 commits
  28. 19 Nov, 2014 1 commit
  29. 05 Nov, 2014 1 commit
    • Xiaowu Zhang's avatar
      Make renderjs works in iframe · a289140e
      Xiaowu Zhang authored
      When a gadget is in iframe, it checks its communication's channel by using timeout 100ms (the only way...).
      If a timeout occurs, renderjs considers this gadget has no parent gadget and so, consider it as parent gadget by stopping acquisition.
      a289140e
  30. 18 Sep, 2014 1 commit
  31. 15 Sep, 2014 1 commit
    • Romain Courteaud's avatar
      Add service management on gadget. · ad6ab698
      Romain Courteaud authored
      A service is function which is executed outside the promise tree when the
      gadget is attached to the DOM.
      Services are stopped when the gadget is removed from the DOM.
      
      You can declare a service with the "declareService" method, which takes a
      function as parameter.
      
      Service errors are reported to the parent gadget by acquisition on
      "reportServiceError".
      If no gadget catched the service error, the application will crash (document
      body will display the raw error).
      ad6ab698
  32. 12 Sep, 2014 1 commit