Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/neocotic/jsonp.js

Simple JSONP JavaScript library
https://github.com/neocotic/jsonp.js

Last synced: 22 days ago
JSON representation

Simple JSONP JavaScript library

Awesome Lists containing this project

README

        

__ __
/\_\ ____ ___ ___ _____ /\_\ ____
\/\ \ /',__\ / __`\/' _ `\/\ '__`\ \/\ \ /',__\
\ \ \/\__, `\\ \L\ \\ \/\ \ \ \L\ \__ \ \ \/\__, `\
_\ \ \/\____/ \____/ \_\ \_\ \ ,__/\_\_\ \ \/\____/
/\ \_\ \/___/ \/___/ \/_/\/_/\ \ \/\/_/\ \_\ \/___/
\ \____/ \ \_\ \ \____/
\/___/ \/_/ \/___/

[jsonp.js][] is a library that provides simple [JSONP][] support for JavaScript.

## Get

``` javascript
JSONP.get(url[, data][, callback][, context])
```

## Configuration

``` javascript
JSONP.callbackName = "callback"
JSONP.timeout = 0
```

## Miscellaneous

``` javascript
JSONP.noConflict()
JSONP.VERSION
```

## Bugs

If you have any problems with this library or would like to see the changes
currently in development you can do so here;

https://github.com/neocotic/jsonp.js/issues

## Questions?

Take a look at `docs/jsonp.html` to get a better understanding of what the code
is doing.

If that doesn't help, feel free to follow me on Twitter, [@neocotic][].

However, if you want more information or examples of using this library please
visit the project's homepage;

http://neocotic.com/jsonp.js

[@neocotic]: https://twitter.com/#!/neocotic
[jsonp.js]: http://neocotic.com/jsonp.js
[jsonp]: http://en.wikipedia.org/wiki/JSONP