mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	With webpack, variables declared in each file are already file-local (Global variables need to be explicitly exported), so these IIFEs are no longer needed. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
		
			
				
	
	
		
			10 lines
		
	
	
		
			179 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			179 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
exports.enable = function () {
 | 
						|
    $("body").addClass("night-mode");
 | 
						|
};
 | 
						|
 | 
						|
exports.disable = function () {
 | 
						|
    $("body").removeClass("night-mode");
 | 
						|
};
 | 
						|
 | 
						|
window.night_mode = exports;
 |