not a bug... but something like ractive.keys() would be handy
Closed this issue · 2 comments
jhiver commented
Description:
For the life of me i cannot iterate through whatever was set. In old version it was quite easy to get to the data but nowadays I can't find how to get it done. Any idea please?
Versions affected:
all recent ones
Platforms affected:
everywhere.
Reproduction:
ractive.set('foo', 1)
ractive.set('bar', 2)
ractive.keys() # would return [ 'foo', 'bar' ]
MartinKolarik commented
What's wrong with Object.keys(ractive.get())
?
jhiver commented
How could I have missed this? Thanks!