Added better partial() object collection support
Before adoption: this commit came in with the history the project adopted, so no landing records it.
only respecting .length is fine in some cases, but if the object has a length and has holes, it will likely produce an unexpected result, or an undefined local in the render call, which may some times be ideal, but most likely not. this change allows arbitrary objects to be passed to "collection: ", however unfortunately there is no way to arbitrarily assume the object is a collection without passing it as the option
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+45 added−8 removed
- tests:+14 added−0 removed
- other:+31 added−8 removed