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.
		
		
		
		
		
			
		
			
				
					
					
						
							17 lines
						
					
					
						
							434 B
						
					
					
				
			
		
		
	
	
							17 lines
						
					
					
						
							434 B
						
					
					
				"use strict";
 | 
						|
 | 
						|
Object.defineProperty(exports, "__esModule", {
 | 
						|
  value: true
 | 
						|
});
 | 
						|
exports.default = buildFormatLongFn;
 | 
						|
 | 
						|
function buildFormatLongFn(args) {
 | 
						|
  return function (dirtyOptions) {
 | 
						|
    var options = dirtyOptions || {};
 | 
						|
    var width = options.width ? String(options.width) : args.defaultWidth;
 | 
						|
    var format = args.formats[width] || args.formats[args.defaultWidth];
 | 
						|
    return format;
 | 
						|
  };
 | 
						|
}
 | 
						|
 | 
						|
module.exports = exports.default; |