lstak/Backbone.SharePoint — pull request #3 by RainerAtSpirit (2012-02-01 11:50:43+00:00)
Title: In a READ operatikon listdata.svc returns invalid JSON

by encodíng apostrophes \' instead of leaving them untouched. This leads to an error during the jQuery.ajax JSON conversion.

I've added a dataFilter to the ajax.params, so that the reponse is cleaned up before jquery calls windows.JSON.

Seems to be the right place, but maybe it's worth to consider other options as well.

The modification doesn't break any existing tests, but it might be good to add one to cover this error handling.

Raner