Wizcorp/Ejecta-X — pull request #58 by aogilvie (2014-03-31 06:57:16+00:00)
Title: Feature/http image source

## About
This adds ability for localhost XHR requests.

## Testing Code

- Add a file named text.txt to the `assets/www/` dir
- Add the code below to the bottom of index.js

```
// test XMLHttpRequest
var request = new XMLHttpRequest();
request.onreadystatechange = function (aEvt) {
console.log("Readystate: " + request.readyState);
if (request.readyState == 4) {
if (request.status == 200) {
console.log("+++++++++++++++ " + request.responseText);
} else {
console.log("Error loading");
}
}
};
request.open("GET", "text.txt");
request.send();

```