Hi,

shouldn't this work:

var data = {
  "foo" : "foo",
  "bar" : [1,2,3,4,5]
};
var model = qx.data.marshal.Json.createModel( data, true );
var bar = model.getBar();
var firstItem = bar.shift();

I expect the result to be 1, but if you try the code in the playground, you
get "Cannot read property 'indexOf' of undefined". Am I doing something
wrong here, or is this a bug?

C. 


-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Bug-in-qx-data-Array-tp4991264p4991264.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to