mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	click_handlers: Use WinChan as a module.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							114cc1ec25
						
					
				
				
					commit
					eb09c137cf
				
			@@ -106,7 +106,6 @@
 | 
			
		||||
                "MessageListView": false,
 | 
			
		||||
                "Plotly": false,
 | 
			
		||||
                "UserSearch": false,
 | 
			
		||||
                "WinChan": false,
 | 
			
		||||
                "activity": false,
 | 
			
		||||
                "admin": false,
 | 
			
		||||
                "alert_words": false,
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,6 @@ import "jquery-caret-plugin/src/jquery.caret.js";
 | 
			
		||||
import "../../third/jquery-idle/jquery.idle.js";
 | 
			
		||||
import "spectrum-colorpicker";
 | 
			
		||||
import "jquery-validation/dist/jquery.validate.js";
 | 
			
		||||
import "winchan/winchan.js";
 | 
			
		||||
import "handlebars/dist/cjs/handlebars.runtime.js";
 | 
			
		||||
import "flatpickr/dist/flatpickr.js";
 | 
			
		||||
import "flatpickr/dist/plugins/confirmDate/confirmDate.js";
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,6 @@
 | 
			
		||||
const _ = require("lodash");
 | 
			
		||||
const WinChan = require("winchan");
 | 
			
		||||
 | 
			
		||||
// You won't find every click handler here, but it's a good place to start!
 | 
			
		||||
 | 
			
		||||
const render_buddy_list_tooltip = require("../templates/buddy_list_tooltip.hbs");
 | 
			
		||||
 
 | 
			
		||||
@@ -247,7 +247,6 @@ export default (env?: string): webpack.Configuration[] => {
 | 
			
		||||
        {path: "../static/js/debug.js"},
 | 
			
		||||
        {path: "jquery/dist/jquery.js", name: ["$", "jQuery"]},
 | 
			
		||||
        {path: "handlebars/dist/cjs/handlebars.runtime.js", name: "Handlebars"},
 | 
			
		||||
        {path: "winchan/winchan.js", name: "WinChan"},
 | 
			
		||||
    ];
 | 
			
		||||
    config.module.rules.unshift(...getExposeLoaders(exposeOptions));
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user