old_contents: /* ThreadThrottleJS v1.00 | (c) 2016 Hinton & Company, Inc. | https://github.com/Drumsticks/ThreadThrottleJS/blob/master/LICENSE */
  window[function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('3 E(){q=w u(t)}3 u(d){6 e=0,k=0,f=0,m=0,5=0,h=\'\';2.z=3(){f=0;5=0}2.D=3(){6 a=2.8()+2.j()+2.n();6 b=a-5;5=5>0?a:2.8();6 c=2.9()>0?2.9():5;A(6 i=1;i<=c;i++){4(2.8()>0){2.g(1)}}}2.g=3(i){6 a=y;4(2.n()>=5){}o 4(2.8()===0){}o 4(2.j()<2.9()){2.l(i);4(i>0){d(2)}}}2.x=3(a){2.v(i);2.g(1)}2.r=3(a){m+=i}2.8=3(){7 m}2.l=3(i){e+=i;4(i>0){2.r(i*-1)}}2.j=3(){7 e}2.v=3(i){f+=i;4(i>0){2.l(i*-1)}}2.n=3(){7 f}2.B=3(i){k=i}2.9=3(){7 k}2.C=3(s){h=s}2.p=3(){7 h}}3 t(a){q.p()()}',41,41,'||this|function|if|initialQueueTotal|var|return|getQueue|getLimit||||||processesCompleted|next|functionName||getActive|processesLimit|setActive|queueTotal|getCompleted|else|getFunctionName|ttjs|setQueue||thread|ThreadThrottleJS|setCompleted|new|complete|false|reset|for|setLimit|setFunctionName|start|init_ThreadThrottleJS'.split('|'),0,{})]
  
new_contents: /* ThreadThrottleJS v1.00 | (c) 2016 Hinton & Company, Inc. | https://github.com/Drumsticks/ThreadThrottleJS/blob/master/LICENSE */
  function initThreadThrottleJS(){ttjs=new ThreadThrottleJS(thread)}function ThreadThrottleJS(d){var e=0,processesLimit=0,processesCompleted=0,queueTotal=0,initialQueueTotal=0,functionName='',data=[];this.reset=function(){processesCompleted=0;initialQueueTotal=0};this.start=function(){var a=this.getQueue()+this.getActive()+this.getCompleted();var b=a-initialQueueTotal;initialQueueTotal=initialQueueTotal>0?a:this.getQueue();var c=this.getLimit()>0?this.getLimit():initialQueueTotal;for(var i=1;i<=c;i++){if(this.getQueue()>0){this.next(1)}}};this.next=function(i){var a=false;if(this.getCompleted()>=initialQueueTotal){}else if(this.getQueue()===0){}else if(this.getActive()<this.getLimit()){this.setActive(i);if(i>0){d(this)}}};this.complete=function(a){this.setCompleted(i);this.next(1)};this.setQueue=function(a){queueTotal+=i};this.getQueue=function(){return queueTotal};this.setActive=function(i){e+=i;if(i>0){this.setQueue(i*-1)}};this.getActive=function(){return e};this.setCompleted=function(i){processesCompleted+=i;if(i>0){this.setActive(i*-1)}};this.getCompleted=function(){return processesCompleted};this.setLimit=function(i){processesLimit=i};this.getLimit=function(){return processesLimit};this.setFunctionName=function(s){functionName=s};this.getFunctionName=function(){return functionName};this.setData=function(o){data.push(o)};this.getData=function(){return data.shift()}}function thread(){ttjs.getFunctionName()(ttjs.getData())}
  
subject: Update threadthrottlejs-1.0.0.min.js