Yomguithereal / baobab

JavaScript & TypeScript persistent and optionally immutable data tree with cursors.
MIT License
3.15k stars 117 forks source link

Update splice documentation #411

Closed jrust closed 8 years ago

jrust commented 8 years ago

I found it difficult to figure out how to insert 1 or more items using splice and so added examples for that. I also removed the docs about applying splice n times because when I tried to test that functionality it threw Baobab.Cursor.splice: invalid value. (and I could find no tests covering it).

Yomguithereal commented 8 years ago

Thanks @jrust!