PaulUithol/Backbone-relational — pull request #132 by ClemensSchneider (2012-05-22 10:19:32+00:00)
Title: fixed bug where indexes were all the same when adding models to collection

- happens because 'add' events are added to the relational event queue,
passing the arguments (including options) as reference.. the index, at
which a model was added is then changed for every call to trigger('add')
so that when the event queue is finally run, options.index does only
reflect the last change to the index and not the index the model was
originally added at...

I am aware that my solution does not look very clean. Maybe someone has a better suggestion to preserve the original argument-values for triggered events