1. 25 Oct, 2017 1 commit
  2. 05 Sep, 2017 1 commit
  3. 07 Aug, 2017 2 commits
  4. 26 Jun, 2017 1 commit
  5. 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
  6. 24 Feb, 2017 2 commits
  7. 17 Jan, 2017 1 commit
  8. 16 Jan, 2017 1 commit
  9. 13 Jan, 2017 1 commit
  10. 05 Dec, 2016 1 commit
  11. 24 Nov, 2016 1 commit
  12. 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
  13. 21 Nov, 2016 1 commit
  14. 28 Oct, 2016 4 commits
  15. 06 Sep, 2016 1 commit
  16. 12 Jul, 2016 1 commit
  17. 11 Jul, 2016 1 commit
  18. 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
  19. 21 Jun, 2016 1 commit
  20. 14 Jun, 2016 1 commit
  21. 31 May, 2016 1 commit
  22. 08 Apr, 2016 2 commits
  23. 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
  24. 04 Dec, 2014 1 commit
  25. 20 Nov, 2014 3 commits
  26. 19 Nov, 2014 1 commit
  27. 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
  28. 18 Sep, 2014 1 commit
  29. 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
  30. 12 Sep, 2014 1 commit
  31. 23 May, 2014 1 commit
  32. 22 May, 2014 1 commit