better name for then/done result
This commit is contained in:
		
							parent
							
								
									480909dabb
								
							
						
					
					
						commit
						5fecd1cb3f
					
				@ -7,12 +7,12 @@
 | 
			
		||||
      , index = -1
 | 
			
		||||
      ;
 | 
			
		||||
 | 
			
		||||
    function next(BREAK, newArr) {
 | 
			
		||||
    function next(BREAK, result) {
 | 
			
		||||
      index += 1;
 | 
			
		||||
 | 
			
		||||
      if (index === arr.length || BREAK === forEachAsync.__BREAK) {
 | 
			
		||||
        dones.forEach(function (done) {
 | 
			
		||||
          done.call(thisArg, newArr);
 | 
			
		||||
          done.call(thisArg, result);
 | 
			
		||||
        });
 | 
			
		||||
        return;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user