# corslite **Repository Path**: mirrors_mapbox/corslite ## Basic Information - **Project Name**: corslite - **Description**: an ajax library for everyone and domains - **Primary Language**: Unknown - **License**: BSD-2-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2026-01-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![a floating can of corslite](https://f.cloud.github.com/assets/83384/341733/2fc1dcb8-9d7a-11e2-8ad1-7961248920c3.png) ## corslite [![Build Status](https://travis-ci.org/mapbox/corslite.svg?branch=master)](https://travis-ci.org/mapbox/corslite) ```js corslite('http://b.tiles.mapbox.com/v3/tmcw.dem.json', function(err, resp) { // resp is the XMLHttpRequest object }, true); // cross origin? ``` 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](http://bit.ly/XTxZet) in hopes that it is less a hack than [JSONP](http://en.wikipedia.org/wiki/JSONP). This comes with caveats: * No headers are permitted on requests * Only 'GET' * No access error diagnostics (status code, response body) on IE