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

Find a better way to handle ajax call #1

Open
friimaind opened this issue Feb 19, 2017 · 2 comments
Open

Find a better way to handle ajax call #1

friimaind opened this issue Feb 19, 2017 · 2 comments

Comments

@friimaind
Copy link
Owner

Maybe using something like https://api.jquery.com/jquery.when/

@technicalpyro
Copy link

for what it is worth i have been helping on some testing you may not need this once the FTL code is fully done i set this up with my test box and every page and graph loads in miliseconds

@friimaind
Copy link
Owner Author

@technicalpyro thank you :)

honestly my intent was to abstract from the API: for example creating a single file api.js where an object returns the data. This couldn't be done with the current code because $.getJSON is an asynchronous function.

I will investigate :)

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

2 participants