This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright (c) 2015 Matthew Zipay <[email protected]>. All rights reserved. | |
* Licensed under the MIT License <http://opensource.org/licenses/MIT>. | |
* | |
* The problem: | |
* You need to make a cross-domain request for JSON data, but the remote | |
* server doesn't send the necessary CORS headers, and it only supports | |
* simple JSON-over-HTTP GET requests (no JSONP support). | |
* | |
* One possible solution: |