component.json revision 1c1f3d4e86b4a3818f50131d7b44f6badc0db6c3
{
"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": ["utility", "jsonp"],
"examples": [
{
"name": "jsonp-github",
"displayName": "Getting Cross Domain JSON Data Using Y.jsonp()",
"description": "Get basic GitHub user info using a Y.jsonp(url, callback).",
"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
}
]
}