0.0.3 • Published 7 years ago

@lowzonenose/jsonp v0.0.3

Weekly downloads
-
License
BSD-2-Clause
Repository
github
Last release
7 years ago

Build Status

JSONP (or JSON with Padding) is a technique used by web developers to overcome the cross-domain restrictions imposed by browsers to allow data to be retrieved from systems other than the one the page was served by.

USAGE

 var options = { 
   url : 'http://localhost/response.json', 
   timeOut : 10000, 
   onResponse: function (response) { console.log('onResponse', response); }, 
   onTimeOut : function () { console.log("Time out !"); } 
 };
 JSONP.call(options);