yql-min.js revision 11173168fe9e382ff5a815fcf26d1686a0065c64
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav GlassYUI.add("yql",function(B){var A=function(E,F,D,C){if(!D){D={};}D.q=E;D.format="json";if(!D.env){D.env=B.YQLRequest.ENV;}this._params=D;this._opts=C;this._callback=F;};A.prototype={_opts:null,_callback:null,_params:null,send:function(){var C="",D=((this._opts&&this._opts.proto)?this._opts.proto:B.YQLRequest.PROTO);B.each(this._params,function(F,E){C+=E+"="+encodeURIComponent(F)+"&";});D+=((this._opts&&this._opts.base)?this._opts.base:B.YQLRequest.BASE_URL)+C;B.jsonp(D,this._callback);return this;}};A.PROTO="http";A.BASE_URL=":/"+"/query.yahooapis.com/v1/public/yql?";A.ENV="http:/"+"/datatables.org/alltables.env";B.YQLRequest=A;B.YQL=function(D,E,C){return new B.YQLRequest(D,E,C).send();};},"@VERSION@",{requires:["jsonp"]});