forked from erikarenhill/Lightweight-JSONP
-
Notifications
You must be signed in to change notification settings - Fork 0
rambocoder/Lightweight-JSONP
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Lightweight JSONP Javascript Library without dependencies. Usage: /* Optional setting for default callback name */ JSONP.init({ callbackName: 'jsonp' }); /* * This will make a request for the url * /test?otherParam1¶m1=a¶m2=b&callback=json{N} where {N} is an auto incrementing counter * and then callback your function with the response. * Fourth parameter is if you want to override the "callback" named parameter. */ JSONP.get('/test?otherParam=1', {param1:'a', param2:'b'}, function(response){ console.log(response); }/* , "overrideCallbackName" */);
About
A standalone lightweight JSONP JavaScript library
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published