Weird object render #38

Closed
kdauzickas opened this Issue Oct 9, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@kdauzickas

Another minor glitch in js. Not sure what causes this but I think it's 2 consecutive fields with arrays.
Data:
{ _id: ObjectId("5074285671d82f2f61000000"), foo: [ { data: "data" } ], bar: [] }

Expected render:

{
    _id: ObjectId("5074285671d82f2f61000000"),
    foo: [
        {
            data: "data"
        }
    ],
    bar: []
}

Actual render:

{
        _id: ObjectId("5074285671d82f2f61000000"),
        foo: [
        {
            data: "data"
        }
    ],
        bar: []
}
@bobthecow

This comment has been minimized.

Show comment
Hide comment
@bobthecow

bobthecow Oct 9, 2012

Owner

yeah, that isn't right. i'll try to track it down.

Owner

bobthecow commented Oct 9, 2012

yeah, that isn't right. i'll try to track it down.

@bobthecow bobthecow closed this in faebbbf Oct 9, 2012

@bobthecow

This comment has been minimized.

Show comment
Hide comment
@bobthecow

bobthecow Oct 9, 2012

Owner

Thanks for reporting this. It was actually a problem with rendering properties containing only an empty array (bar: []). It's been fixed in develop and will go out with the next release.

Owner

bobthecow commented Oct 9, 2012

Thanks for reporting this. It was actually a problem with rendering properties containing only an empty array (bar: []). It's been fixed in develop and will go out with the next release.

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