src/cm/media/js/lib/yui/yui3.0.0/examples/dd/assets/yql-min.js
changeset 0 40c8f766c9b8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cm/media/js/lib/yui/yui3.0.0/examples/dd/assets/yql-min.js	Mon Nov 23 15:14:29 2009 +0100
@@ -0,0 +1,1 @@
+YUI.add("yql",function(c){if(!YUI.yql){YUI.yql={}}var b="http://query.yahooapis.com/v1/public/yql?",a=function(e,f,d){a.superclass.constructor.apply(this);this._query(e,f,d)};c.extend(a,c.Event.Target,{_receiver:function(d){if(d.query){this.fire("query",d.query)}if(d.error){this.fire("error",d.error)}if(this._cb){this._cb(d)}return this},_query:function(h,i,g){var f=c.stamp({}),d="",e;f=f.replace(/-/g,"_");this._cb=i;YUI.yql[f]=c.bind(this._receiver,this);if(!g){g={}}g.q=h;g.format="json";g.callback="YUI.yql."+f;if(!g.env){g.env="http://datatables.org/alltables.env"}c.each(g,function(l,j){d+=j+"="+encodeURIComponent(l)+"&"});e=b+d;c.Get.script(e,{autopurge:true});return this}});c.yql=a},"1.0",{requires:["get","event-custom"],skinnable:false});
\ No newline at end of file