use const instead of var
This commit is contained in:
		
							parent
							
								
									4e57061d84
								
							
						
					
					
						commit
						98dfcf57ec
					
				
							
								
								
									
										8
									
								
								pdf.js
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								pdf.js
									
									
									
									
									
								
							@ -2116,10 +2116,10 @@ var CanvasGraphics = (function() {
 | 
			
		||||
        };
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    var LINE_CAP_STYLES = [ "butt", "round", "square" ];
 | 
			
		||||
    var LINE_JOIN_STYLES = [ "miter", "round", "bevel" ];
 | 
			
		||||
    var NORMAL_CLIP = {};
 | 
			
		||||
    var EO_CLIP = {};
 | 
			
		||||
    const LINE_CAP_STYLES = [ "butt", "round", "square" ];
 | 
			
		||||
    const LINE_JOIN_STYLES = [ "miter", "round", "bevel" ];
 | 
			
		||||
    const NORMAL_CLIP = {};
 | 
			
		||||
    const EO_CLIP = {};
 | 
			
		||||
 | 
			
		||||
    constructor.prototype = {
 | 
			
		||||
        beginDrawing: function(mediaBox) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user