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

Convert coordinate objects into arrays #258

Closed
ElDeveloper opened this issue Jul 14, 2020 · 1 comment
Closed

Convert coordinate objects into arrays #258

ElDeveloper opened this issue Jul 14, 2020 · 1 comment
Assignees

Comments

@ElDeveloper
Copy link
Member

The idea is to change this:

{'name': 'a', 'x2': 1, 'xc0': 2, 'xc1': 3, 'xr': 4, 'y2': 5, 'yc0': 6, 'yc1': 7, 'yr': 8}

To this:

['a', 1, 2, 3, 4, 5, 6, 7, 8]

This should save python from writing all the repeated key data, and save JavaScript from parsing all of that. We would just need to load the data in a container once it's parsed in JavaScript. Originally brought up in #231.

@fedarko
Copy link
Collaborator

fedarko commented Aug 6, 2020

Closed by #301!

@fedarko fedarko closed this as completed Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants