--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cm/media/js/lib/yui/yui3-3.15.0/build/yql-jsonp/yql-jsonp.js Mon Mar 10 15:19:48 2014 +0100
@@ -0,0 +1,29 @@
+YUI.add('yql-jsonp', function (Y, NAME) {
+
+/**
+* Plugin for YQL to use JSONP to make YQL requests. This is the default method,
+* when loaded in nodejs or winjs this will not load. The new module is needed
+* to make sure that JSONP is not loaded in the environments that it is not needed.
+* @module yql
+* @submodule yql-jsonp
+*/
+
+//Over writes Y.YQLRequest._send to use IO instead of JSONP
+Y.YQLRequest.prototype._send = function (url, o) {
+ if (o.allowCache !== false) {
+ o.allowCache = true;
+ }
+ if (!this._jsonp) {
+ this._jsonp = Y.jsonp(url, o);
+ } else {
+ this._jsonp.url = url;
+ if (o.on && o.on.success) {
+ this._jsonp._config.on.success = o.on.success;
+ }
+ this._jsonp.send();
+ }
+};
+
+
+
+}, '@VERSION@', {"requires": ["jsonp", "jsonp-url"]});