These are chat archives for ractivejs/ractive

20th
Feb 2018
Arnaud Dagnelies
@dagnelies
Feb 20 2018 15:15
hi there
is it possible to easely build a custom hash to provide for the playground?
(if I know the template, etc, can I programatically "build" such a hash?
or provide it as json directly?
Chris Reeves
@evs-chris
Feb 20 2018 15:17
sure. it's just an lzstring compressed chunk of json
Arnaud Dagnelies
@dagnelies
Feb 20 2018 15:18
that's what I thought, I just couldn't find how the expected object has to be structured
Chris Reeves
@evs-chris
Feb 20 2018 15:20
there object is unit, so I think you can pull it from the playground with r.get('unit')
that's where the hashing happens
Arnaud Dagnelies
@dagnelies
Feb 20 2018 15:22
ok, got it, thanks
Paul Maly
@PaulMaly_twitter
Feb 20 2018 18:04
@evs-chris seems lazy="<number>" not working or I missed something?
Chris Reeves
@evs-chris
Feb 20 2018 20:02
seems to be working for me... the input waits 10s after the last keystroke before updating the binding
Joseph
@fskreuz
Feb 20 2018 20:05
Works On My Machine™ :grin:
Chris Reeves
@evs-chris
Feb 20 2018 20:06
there's actually a ticket close status for that in one of the corporate issue trackers I've used: 'IWOMM'
Joseph
@fskreuz
Feb 20 2018 20:07
:joy:
Paul Maly
@PaulMaly_twitter
Feb 20 2018 20:08
@evs-chris sorry, I've already solved it - I just forgot to re-play example )))))