mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 12:22:47 +00:00 
			
		
		
		
	Make the corpus analysis runnable again
This commit is contained in:
		@@ -136,7 +136,7 @@ class Client {
 | 
			
		||||
      tmp_first_cpos.push(results.data.matches[dataIndex].c[0]);
 | 
			
		||||
      tmp_last_cpos.push(results.data.matches[dataIndex].c[1]);
 | 
			
		||||
    }
 | 
			
		||||
    nopaque.socket.emit('corpus_analysis_get_match_with_full_context',
 | 
			
		||||
    this.socket.emit('corpus_analysis_get_match_with_full_context',
 | 
			
		||||
                        {type: resultsType,
 | 
			
		||||
                         data_indexes: dataIndexes,
 | 
			
		||||
                         first_cpos: tmp_first_cpos,
 | 
			
		||||
 
 | 
			
		||||
@@ -157,7 +157,7 @@ document.addEventListener("DOMContentLoaded", () => {
 | 
			
		||||
  // Initialize the client for server client communication in dynamic mode
 | 
			
		||||
  let corpusId = {{ corpus.id }}
 | 
			
		||||
  const client = new Client({'corpusId': corpusId,
 | 
			
		||||
                             'socket': nopaque.socket,
 | 
			
		||||
                             'socket': nopaque.appClient.socket,
 | 
			
		||||
                             'logging': true,
 | 
			
		||||
                             'dynamicMode': true});
 | 
			
		||||
  /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user