$.each works incorrectly

Using the sample in the documentation it seems like $.each usage to loop over results does not work correctly. for (var i = 0; i < data.results.length; i++) { html += "<li>" + data.results[...

Id #656 | Release: None | Updated: Sun at 6:50 AM by CKurt | Created: Sun at 6:50 AM by CKurt

Is DataJS a NODE capable library?

I am wondering if DataJS is suitable to be used on the server side in a node application? The OData.org website suggests that it is (by implication): http://www.odata.org/libraries#node.js But...

Id #641 | Release: None | Updated: May 7 at 11:59 PM by BillMcKnight | Created: May 7 at 11:59 PM by BillMcKnight

Error attempting sample code.

I've encountered a simple problem right off the bat using one of the samples provided. I used the following sample from an aspnet mvc page OData.read({ requestUri: "http://odata.netflix.c...

Id #636 | Release: None | Updated: May 7 at 11:50 PM by BillMcKnight | Created: May 6 at 6:28 PM by BillMcKnight

EDM Types problem with metadata document

Hi, I guess this is a bug in datajs: I first read the metadata and then provide this metadata in the next read request. The returned data is XML which doesn't contain embedded additional metadata:...

Id #557 | Release: None | Updated: May 3 at 12:31 PM by Joe82 | Created: Feb 7 at 11:19 AM by Joe82

How to parse response of odata batch request

Hi I am using batch data request but dont know how to parse response of this request My code: OData.request({ requestUri: baseURL + "$batch", method: "POST", d...

Id #535 | Release: None | Updated: Feb 2 at 4:50 AM by anilgautam | Created: Dec 15 2011 at 10:32 AM by anilgautam

Integrate OQuery into datajs

http://code.msdn.microsoft.com/OQuery-Building-OData-d2e75eed Merge this or some similar query building support into datajs.

Id #482 | Release: None | Updated: Oct 10 2011 at 1:20 PM by keydet | Created: Oct 10 2011 at 1:20 PM by keydet

Create a possibility to add custom handler for data

We need a possibility to add our custom handler for our custom format, but there is no way to add additional handler to local handlers collection: var handlers = [odata.jsonHandler, odata.atomHand...

Id #480 | Release: None | Updated: Apr 6 at 1:48 AM by ATrigo | Created: Sep 30 2011 at 3:15 PM by epodolyak

setTimeout without delay

delay is mandatory for setTimeout function: In datajs-1.0.0.js: window.setTimeout(callback); http://msdn.microsoft.com/en-us/library/ms536753(v=VS.85).aspx https://developer.mozilla.org/en/DOM/wi...

Id #425 | Release: datajs version 1.0.1 | Updated: Aug 2 2011 at 11:37 PM by ATrigo | Created: Jul 18 2011 at 8:14 PM by jsgoupil

All async methods should return a deferred object

All the Storage API async methods should return a $.Deferred object instead of having "success" and "error" arguments. It would be a lot easier to pipe the functionality, and it would match the new...

Id #424 | Release: None | Updated: Aug 22 2011 at 9:33 AM by dmeierotto | Created: Jul 18 2011 at 7:11 PM by jsgoupil

Error in regex evaluation

I get an Eclipse evaluation error on line 4291 in datajs 1.0 var responseHeaderRegex = /^([^()<>@,;:\\"/[\]?={} \t]+)\s?:\s?(.*)/; Shouldn't this be var responseHeaderRegex = /^([^()<>@,;:\\"\/[...

Id #408 | Release: datajs version 1.0.1 | Updated: Aug 2 2011 at 11:37 PM by ATrigo | Created: Jul 14 2011 at 8:15 AM by Joe82