| Server IP : 162.214.74.102 / Your IP : 216.73.217.80 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_projetos/sopizzas/build/yql-winjs/ |
Upload File : |
YUI.add('yql-winjs', function (Y, NAME) {
/**
* WinJS plugin for YQL to use native XHR to make requests instead of JSONP.
* Not required by the user, it's conditionally loaded and should "just work".
* @module yql
* @submodule yql-winjs
*/
//Over writes Y.YQLRequest._send to use IO instead of JSONP
Y.YQLRequest.prototype._send = function (url, o) {
var req = new XMLHttpRequest(),
timer;
req.open('GET', url, true);
req.onreadystatechange = function () {
if (req.readyState === 4) { //Complete
//No status code check here, since the YQL service will return JSON
clearTimeout(timer);
//No need to "call" this, YQL handles the context
o.on.success(JSON.parse(req.responseText));
}
};
req.send();
//Simple timer to catch no connections
timer = setTimeout(function() {
req.abort();
o.on.timeout('script timeout');
}, o.timeout || 30000);
};
}, 'patched-v3.18.1', {"requires": ["yql"]});