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

<data> section with empty <values> section causes error #68

Open
embeepea opened this issue May 4, 2013 · 0 comments
Open

<data> section with empty <values> section causes error #68

embeepea opened this issue May 4, 2013 · 0 comments
Labels

Comments

@embeepea
Copy link
Member

embeepea commented May 4, 2013

A <data> section that contains an empty <values> section (no actual values) causes the error

cannot read property 'length' of undefined

What it should do is to simply create a data object that contains no values and whose getIterator() method returns an empty iterator.

This came up while dealing with the timeline widget for the global climate dashboard. It isn't urgent --- I'm working around it by simply including a bogus value in the timeline's <data> section. But it should be fixed.

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

No branches or pull requests

1 participant