HaxeFoundation/haxe — pull request #2529 by derRaab (2014-01-14 12:03:44+00:00)
Title: Added jQuery approach (hack) to enable local HTTP requests with JavaScript.

Browsers usually return HTTP status 0 for requests using a local protocol like file, app...
For local development it's nice to use simulated HTTP status 200 or 404 if responseText ist available or not.