This package has been deprecated
Author message:
This module is now under the @mapbox namespace: install @mapbox/corslite instead
corslite
0.0.7 • Public • Published
corslite
corslite('http://b.tiles.mapbox.com/v3/tmcw.dem.json', function(err, resp) {
}, true);
an AJAX library focused on simplicity and supporting IE8-10 with cross domain
requests.
We're making a deal with the devil and using XDomainRequest
in hopes that it is less a hack than JSONP.
This comes with caveats:
- No headers are permitted on requests
- Only 'GET'
- No access error diagnostics (status code, response body) on IE
Versions
Current Tags
- VersionDownloads (Last 7 Days)
Version History
- VersionDownloads (Last 7 Days)
Package Sidebar
Install
Weekly Downloads