corslite

WebJar for corslite

License

License

BSD
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

corslite
Last Version

Last Version

0.0.7
Release Date

Release Date

Type

Type

jar
Description

Description

corslite
WebJar for corslite
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/mapbox/corslite

Download corslite

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/corslite/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>corslite</artifactId>
    <version>0.0.7</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/corslite/
implementation 'org.webjars.npm:corslite:0.0.7'
// https://jarcasting.com/artifacts/org.webjars.npm/corslite/
implementation ("org.webjars.npm:corslite:0.0.7")
'org.webjars.npm:corslite:jar:0.0.7'
<dependency org="org.webjars.npm" name="corslite" rev="0.0.7">
  <artifact name="corslite" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='corslite', version='0.0.7')
)
libraryDependencies += "org.webjars.npm" % "corslite" % "0.0.7"
[org.webjars.npm/corslite "0.0.7"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

a floating can of corslite

corslite

Build Status

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 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
org.webjars.npm

Mapbox

Mapbox is the location data platform for mobile and web applications. We're changing the way people move around cities and explore our world.

Versions

Version
0.0.7