9 lines
		
	
	
	
		
			127 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			127 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import Rails from '@rails/ujs';
 | |
| 
 | |
| export function start() {
 | |
|   try {
 | |
|     Rails.start();
 | |
|   } catch {
 | |
|     // If called twice
 | |
|   }
 | |
| }
 |