~ted/lazr-js/annoying-debug-message

« back to all changes in this revision

Viewing changes to src-js/lazrjs/yui/jsonp/jsonp-min.js

  • Committer: Launchpad Patch Queue Manager
  • Date: 2010-09-09 14:20:30 UTC
  • mfrom: (182.1.3 yui-3.2)
  • Revision ID: launchpad@pqm.canonical.com-20100909142030-13w6vo0ixfysxc15
[r=beuno] Update lazr-js to yui-3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
 
3
Code licensed under the BSD License:
 
4
http://developer.yahoo.com/yui/license.html
 
5
version: 3.2.0
 
6
build: 2676
 
7
*/
 
8
YUI.add("jsonp",function(C){var B=C.Lang.isFunction;function A(){this._init.apply(this,arguments);}A.prototype={_init:function(D,F){this.url=D;F=(B(F))?{on:{success:F}}:F||{};var E=F.on||{};if(!E.success){E.success=this._defaultCallback(D,F);}this._config=C.merge({context:this,args:[],format:this._format},F,{on:E});},_defaultCallback:function(){},send:function(){var F=C.Array(arguments,0,true),G=C.guid(),E=this._config,D;F.unshift(this.url,"YUI.Env.JSONP."+G);D=E.format.apply(this,F);if(!E.on.success){return this;}function H(I){return(B(I))?function(J){delete YUI.Env.JSONP[G];I.apply(E.context,[J].concat(E.args));}:null;}YUI.Env.JSONP[G]=H(E.on.success);C.Get.script(D,{onFailure:H(E.on.failure),onTimeout:H(E.on.timeout),timeout:E.timeout});return this;},_format:function(D,E){return D.replace(/\{callback\}/,E);}};C.JSONPRequest=A;C.jsonp=function(D,F){var E=new C.JSONPRequest(D,F);return E.send.apply(E,C.Array(arguments,2,true));};if(!YUI.Env.JSONP){YUI.Env.JSONP={};}},"3.2.0",{requires:["get","oop"]});
 
 
b'\\ No newline at end of file'