You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							12 lines
						
					
					
						
							310 B
						
					
					
				
			
		
		
	
	
							12 lines
						
					
					
						
							310 B
						
					
					
				define(['./_flatten'], function (_flatten) {
 | 
						|
 | 
						|
  // Flatten out an array, either recursively (by default), or up to `depth`.
 | 
						|
  // Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively.
 | 
						|
  function flatten(array, depth) {
 | 
						|
    return _flatten(array, depth, false);
 | 
						|
  }
 | 
						|
 | 
						|
  return flatten;
 | 
						|
 | 
						|
});
 |