aurajs/aura — pull request #191 by karlwestin (2013-01-27 19:05:06+00:00)
Title: Fix for fullcalendar bug

It seems to me the problem is in the local storage adapter. I haven't been able to find any reference where that comes from, so if this is not the right place for the PR, please let me know where to put it.

In short:

• Don't call the success method with the entire model as argument
(backbone treats this as data returned from the server and SETS the
entire model to itself, creating a weird circular references)

• Don't save the entire backbone model stuff in localstorage, just save
the data.

• Use backbone's own internal mechanism for idAttributes. Not everyone
uses id

These fixes closes #190