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 loader #42

Merged
merged 7 commits into from Jun 11, 2015
Merged

Data loader #42

merged 7 commits into from Jun 11, 2015

Conversation

manuelodelain
Copy link
Contributor

Add a simple way to load data (JSON, XML, ...) via XMLHttpRequest.

var loader = new PxLoader();
var jsonRequest = loader.addData('data.json');

loader.addCompletionListener(function(){
  var data = JSON.parse(jsonRequest.responseText);
});

loader.start();

joelfillmore added a commit that referenced this pull request Jun 11, 2015
@joelfillmore joelfillmore merged commit 658b69a into thinkpixellab:master Jun 11, 2015
@joelfillmore
Copy link
Member

Looks great, thanks for the addition!

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

Successfully merging this pull request may close these issues.

None yet

2 participants