Please sign in to comment.
make toArray return a clone in case of an array
In combination with backbone this makes coll.toArray() return an array instead of just returning coll.models, enabling coll.remove(coll.toArray()) whithout failing half way through.
- Loading branch information...
Showing with 4 additions and 1 deletion.