/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/static/javascript/yui/build/io/io-queue-min.js

  • Committer: Jelmer Vernooij
  • Date: 2020-06-04 19:43:36 UTC
  • mto: This revision was merged to the branch mainline in revision 500.
  • Revision ID: jelmer@jelmer.uk-20200604194336-ahskrf4rmy1qaxzs
Port loggerhead from YUI to jQuery.

YUI has been deprecated since 2014 and is due to be removed from Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
3
 
Code licensed under the BSD License:
4
 
http://developer.yahoo.net/yui/license.txt
5
 
version: 3.0.0pr2
6
 
*/
7
 
YUI.add("io-queue",function(B){var A=[],K=1,C=false;function I(L,N){if(C===false||A.length<C){var M=B.io._id();A.push({uri:L,id:M,cfg:N});}else{return false;}if(K===1){F();}return M;}function D(O){var M;for(var L=0;L<A.length;L++){if(A[L].id===O){M=A.splice(L,1);var N=A.unshift(M[0]);break;}}}function F(){var L=A.shift();B.io(L.uri,L.cfg,L.id);}function J(L){if(L){C=L;return L;}else{return A.length;}}function E(){var L=(A.length>C>0)?C:A.length;if(L>1){for(var M=0;M<L;M++){F();}}else{F();}}function H(){K=0;}function G(M){if(B.Lang.isNumber(M)){for(var L=0;L<A.length;L++){if(A[L].id===M){A.splice(L,1);break;}}}}I.size=J;I.start=E;I.stop=H;I.promote=D;I.purge=G;B.mix(B.io,{queue:I,},true);},"3.0.0pr2",{requires:["io-base"]});
 
 
b'\\ No newline at end of file'