Strange conversion of nested arrays to Observe.List #172

Closed
whitecolor opened this Issue Nov 24, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@whitecolor
Contributor

whitecolor commented Nov 24, 2012

var test = new Observe.List([[1,2], [3,4], [5,6]])

console.log(test) // -> [1, 2, jQuery182010308363568037748: Object, _cid: ".observe3"]

so [3,4] and [5,6] just gone.

I would expect items [1,2] and [3,4] and [5,6] to be converted to Observe.List and test be Observe.List containing these items.

@daffl

This comment has been minimized.

Show comment
Hide comment
@daffl

daffl Nov 27, 2012

Contributor

You are absolutely right. I could easily reproduce it in a test as well and will look into fixing it.

Contributor

daffl commented Nov 27, 2012

You are absolutely right. I could easily reproduce it in a test as well and will look into fixing it.

@ghost ghost assigned daffl Nov 27, 2012

@daffl daffl closed this in e9eb267 Nov 27, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment