Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird object render #38

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

Weird object render #38

kdauzickas opened this issue Oct 9, 2012 · 2 comments

Comments

@kdauzickas
Copy link

@kdauzickas kdauzickas commented Oct 9, 2012

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
Copy link
Owner

@bobthecow bobthecow commented Oct 9, 2012

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

Loading

@bobthecow bobthecow closed this in faebbbf Oct 9, 2012
@bobthecow
Copy link
Owner

@bobthecow 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.

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants