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.
		
		
		
		
		
			
		
			
				
					14 lines
				
				385 B
			
		
		
			
		
	
	
					14 lines
				
				385 B
			| 
								 
											3 years ago
										 
									 | 
							
								define(['./underscore'], function (underscore) {
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  // By default, Underscore uses ERB-style template delimiters. Change the
							 | 
						||
| 
								 | 
							
								  // following template settings to use alternative delimiters.
							 | 
						||
| 
								 | 
							
								  var templateSettings = underscore.templateSettings = {
							 | 
						||
| 
								 | 
							
								    evaluate: /<%([\s\S]+?)%>/g,
							 | 
						||
| 
								 | 
							
								    interpolate: /<%=([\s\S]+?)%>/g,
							 | 
						||
| 
								 | 
							
								    escape: /<%-([\s\S]+?)%>/g
							 | 
						||
| 
								 | 
							
								  };
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  return templateSettings;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								});
							 |