mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Add socketio javascript
This commit is contained in:
		@@ -27,6 +27,13 @@
 | 
			
		||||
    <script src="{{ url_for('static', filename='js/jsondiffpatch.umd.js') }}"></script>
 | 
			
		||||
    <script src="{{ url_for('static', filename='js/polls.js') }}"></script>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    <script src="{{ url_for('static', filename='js/socket.io.js') }}"></script>
 | 
			
		||||
    <script type="text/javascript" charset="utf-8">
 | 
			
		||||
        var socket = io();
 | 
			
		||||
        socket.on('connect', function() {
 | 
			
		||||
            socket.emit('my event', {data: 'I\'m connected!'});
 | 
			
		||||
        });
 | 
			
		||||
    </script>
 | 
			
		||||
    <script src="{{ url_for('static', filename='js/list.min.js') }}"></script>
 | 
			
		||||
    <script src="{{ url_for('static', filename='js/utils.js') }}"></script>
 | 
			
		||||
    <script src="{{ url_for('static', filename='js/CorpusList.js') }}"></script>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user