component.json revision daa301d2a0f17b5c1b04d777de3acf969b9b63d2
{
"name": "jsonp",
"displayName": "JSONP",
"description": "JSONP provides a JSONPRequest object for reusable cross-domain requests to web services that support JSONP output and a Y.jsonp(..) method to instantiate and send a JSONPRequest.",
"author": "lsmith",
"use": ["jsonp", "jsonp-url"],
"tags": ["jsonp"],
"examples": [
{
"name": "jsonp_github",
"displayName": "Getting Cross Domain JSON Data Using Y.jsonp()",
"description": "Get basic <a href='http://github.com'>GitHub</a> user info using a <code>Y.jsonp(url, callback)</code>.",
"modules": ["jsonp"],
"useModules": ["jsonp", "node"],
"hideTableOfContents": true
},
{
"name": "jsonp_gallery",
"displayName": "Reusing a JSONPRequest Instance to Poll a Remote Server",
"description": "Create a reusable JSONPRequest object to poll the YUILibrary.com Gallery web service, fetching info on a random Gallery module.",
"modules": ["jsonp", "transition"],
"useModules": ["jsonp", "transition"],
"hideTableOfContents": true
},
{
"name": "jsonp_fail",
"displayName": "Advanced Configuration of JSONP Requests",
"description": "Handle timeout or connection failures, override the 'this' object of the callback, and provide additional arguments to the callback",
"modules": ["jsonp"],
"useModules": ["jsonp-base", "node"],
"hideTableOfContents": true
}
]
}