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

Dots.js: onSizeChange returns single value, not array #11

Open
canyouholla opened this issue Jun 28, 2015 · 0 comments
Open

Dots.js: onSizeChange returns single value, not array #11

canyouholla opened this issue Jun 28, 2015 · 0 comments

Comments

@canyouholla
Copy link

all steps after 5 throw this error: Uncaught TypeError: Cannot read property '0' of undefined.

this is because the (Dots.js line 31) onSizeChange function's size argument has a single value (for the x axis) instead of an array. the size variable is then used as an array on line 46.

bug can be fixed by changing line 46 to use "this.size" instead of "this.size[0]"

@canyouholla canyouholla changed the title Dots.js: onSiteChange returns single value, not array Dots.js: onSizeChange returns single value, not array Jun 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant