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.
		
		
		
		
		
			
		
			
				
					
					
						
							24 lines
						
					
					
						
							574 B
						
					
					
				
			
		
		
	
	
							24 lines
						
					
					
						
							574 B
						
					
					
				var dpr = 1; // If in browser environment | 
						|
 | 
						|
if (typeof window !== 'undefined') { | 
						|
  dpr = Math.max(window.devicePixelRatio || 1, 1); | 
						|
} | 
						|
/** | 
						|
 * config默认配置项 | 
						|
 * @exports zrender/config | 
						|
 * @author Kener (@Kener-林峰, kener.linfeng@gmail.com) | 
						|
 */ | 
						|
 | 
						|
/** | 
						|
 * debug日志选项:catchBrushException为true下有效 | 
						|
 * 0 : 不生成debug数据,发布用 | 
						|
 * 1 : 异常抛出,调试用 | 
						|
 * 2 : 控制台输出,调试用 | 
						|
 */ | 
						|
 | 
						|
 | 
						|
var debugMode = 0; // retina 屏幕优化 | 
						|
 | 
						|
var devicePixelRatio = dpr; | 
						|
exports.debugMode = debugMode; | 
						|
exports.devicePixelRatio = devicePixelRatio; |