Compress scripts/styles: 3.4-beta4-20760.

git-svn-id: http://core.svn.wordpress.org/trunk@20760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
bumpbot 2012-05-09 21:58:31 +00:00
parent e7f756c669
commit 572fc170fe
4 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
if(typeof wp==="undefined"){var wp={}}(function(a,b){var c=function(e){var d=this,g={container:"container",browser:"browse_button",dropzone:"drop_element"},f;this.plupload=b.extend(true,{multipart_params:{}},wpPluploadDefaults);this.container=document.body;b.extend(true,this,e);for(f in this){if(b.isFunction(this[f])){this[f]=b.proxy(this[f],this)}}for(f in g){if(!this[f]){continue}this[f]=b(this[f]).first();if(!this[f].length){delete this[f];continue}if(!this[f].prop("id")){this[f].prop("id","__wp-uploader-id-"+c.uuid++)}this.plupload[g[f]]=this[f].prop("id")}this.uploader=new plupload.Uploader(this.plupload);delete this.plupload;this.param(this.params||{});delete this.params;this.uploader.bind("Init",this.init);this.uploader.init();this.uploader.bind("UploadProgress",this.progress);this.uploader.bind("FileUploaded",function(h,j,i){try{i=JSON.parse(i.response)}catch(k){return d.error(pluploadL10n.default_error,k)}if(!i||!i.type||!i.data){return d.error(pluploadL10n.default_error)}if("error"===i.type){return d.error(i.data.message,i.data)}if("success"===i.type){return d.success(i.data)}});this.uploader.bind("Error",function(h,i){var k=pluploadL10n.default_error,j;for(j in c.errorMap){if(i.code===plupload[j]){k=c.errorMap[j];break}}d.error(k,i);h.refresh()});this.uploader.bind("FilesAdded",function(h,i){b.each(i,function(){d.added(this)});h.refresh();h.start()})};c.uuid=0;c.errorMap={FAILED:pluploadL10n.upload_failed,FILE_EXTENSION_ERROR:pluploadL10n.invalid_filetype,IMAGE_FORMAT_ERROR:pluploadL10n.not_an_image,IMAGE_MEMORY_ERROR:pluploadL10n.image_memory_exceeded,IMAGE_DIMENSIONS_ERROR:pluploadL10n.image_dimensions_exceeded,GENERIC_ERROR:pluploadL10n.upload_failed,IO_ERROR:pluploadL10n.io_error,HTTP_ERROR:pluploadL10n.http_error,SECURITY_ERROR:pluploadL10n.security_error};b.extend(c.prototype,{param:function(d,e){if(arguments.length===1&&typeof d==="string"){return this.uploader.settings.multipart_params[d]}if(arguments.length>1){this.uploader.settings.multipart_params[d]=e}else{b.extend(this.uploader.settings.multipart_params,d)}},init:function(){},error:function(){},success:function(){},added:function(){},progress:function(){},complete:function(){}});a.Uploader=c})(wp,jQuery);
if(typeof wp==="undefined"){var wp={}}(function(b,c){var d,a;a=c(document.body);d=function(f){var e=this,h={container:"container",browser:"browse_button",dropzone:"drop_element"},g;this.plupload=c.extend(true,{multipart_params:{}},wpPluploadDefaults);this.container=document.body;c.extend(true,this,f);for(g in this){if(c.isFunction(this[g])){this[g]=c.proxy(this[g],this)}}for(g in h){if(!this[g]){continue}this[g]=c(this[g]).first();if(!this[g].length){delete this[g];continue}if(!this[g].prop("id")){this[g].prop("id","__wp-uploader-id-"+d.uuid++)}this.plupload[h[g]]=this[g].prop("id")}this.uploader=new plupload.Uploader(this.plupload);delete this.plupload;this.param(this.params||{});delete this.params;this.uploader.bind("Init",this.init);this.uploader.init();this.browser.on("mouseenter",this.refresh);a.toggleClass("uploader-drag-drop",this.uploader.features.dragdrop);this.uploader.bind("UploadProgress",this.progress);this.uploader.bind("FileUploaded",function(i,k,j){try{j=JSON.parse(j.response)}catch(l){return e.error(pluploadL10n.default_error,l)}if(!j||!j.type||!j.data){return e.error(pluploadL10n.default_error)}if("error"===j.type){return e.error(j.data.message,j.data)}if("success"===j.type){return e.success(j.data)}});this.uploader.bind("Error",function(i,j){var l=pluploadL10n.default_error,k;for(k in d.errorMap){if(j.code===plupload[k]){l=d.errorMap[k];break}}e.error(l,j);i.refresh()});this.uploader.bind("FilesAdded",function(i,j){c.each(j,function(){e.added(this)});i.refresh();i.start()})};d.uuid=0;d.errorMap={FAILED:pluploadL10n.upload_failed,FILE_EXTENSION_ERROR:pluploadL10n.invalid_filetype,IMAGE_FORMAT_ERROR:pluploadL10n.not_an_image,IMAGE_MEMORY_ERROR:pluploadL10n.image_memory_exceeded,IMAGE_DIMENSIONS_ERROR:pluploadL10n.image_dimensions_exceeded,GENERIC_ERROR:pluploadL10n.upload_failed,IO_ERROR:pluploadL10n.io_error,HTTP_ERROR:pluploadL10n.http_error,SECURITY_ERROR:pluploadL10n.security_error};c.extend(d.prototype,{param:function(e,f){if(arguments.length===1&&typeof e==="string"){return this.uploader.settings.multipart_params[e]}if(arguments.length>1){this.uploader.settings.multipart_params[e]=f}else{c.extend(this.uploader.settings.multipart_params,e)}},init:function(){},error:function(){},success:function(){},added:function(){},progress:function(){},complete:function(){},refresh:function(){this.uploader.refresh()}});b.Uploader=d})(wp,jQuery);

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '3.4-beta4-20755';
$wp_version = '3.4-beta4-20760';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.