1. 28 Aug, 2017 1 commit
    • Tomáš Peterka's avatar
      Gadget state does not get modified by `undefined` · 476ecb77
      Tomáš Peterka authored
      =================================================
      
      Gadget does not take `undefined` arguments as a change to context.
      
      This makes using of default state almost boiler-plate free. Allows to
      easily avoid unnecessary changes by having `undefined` in default state.
      
      For explicite zeroing the state attribute, one should use `null` value.
      476ecb77
  2. 07 Aug, 2017 4 commits
  3. 24 Jul, 2017 1 commit
  4. 26 Jun, 2017 2 commits
  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. 27 Feb, 2017 1 commit
  7. 24 Feb, 2017 2 commits
  8. 18 Jan, 2017 1 commit
  9. 17 Jan, 2017 1 commit
  10. 16 Jan, 2017 1 commit
  11. 13 Jan, 2017 2 commits
  12. 06 Dec, 2016 4 commits
  13. 05 Dec, 2016 1 commit
  14. 02 Dec, 2016 1 commit
  15. 24 Nov, 2016 2 commits
  16. 23 Nov, 2016 1 commit
  17. 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
  18. 21 Nov, 2016 1 commit
  19. 09 Nov, 2016 1 commit
  20. 02 Nov, 2016 1 commit
    • Romain Courteaud's avatar
      Release version 0.11.0 · 7c5c6745
      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
      7c5c6745
  21. 28 Oct, 2016 4 commits
  22. 19 Sep, 2016 1 commit
  23. 06 Sep, 2016 1 commit
  24. 29 Jul, 2016 1 commit
  25. 12 Jul, 2016 2 commits
  26. 11 Jul, 2016 1 commit