chore: Comments cleanup
This commit is contained in:
		@@ -197,10 +197,11 @@ class WTerminal {
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  constructor(name, locationId, options) {
 | 
			
		||||
    // use name in static storage of terminals
 | 
			
		||||
    this.name = name;
 | 
			
		||||
    this.locationId = location;
 | 
			
		||||
    // use name in static storage of terminals
 | 
			
		||||
    WTerminal.terminals[name] = this;
 | 
			
		||||
    // Todo: use options variable ... 
 | 
			
		||||
 | 
			
		||||
    //create terminal elements
 | 
			
		||||
    const container = WTerminal.createElement('div', { class: WTerminal.CONTAINER_CLASS, title: "Terminal" });
 | 
			
		||||
@@ -281,7 +282,7 @@ class WTerminal {
 | 
			
		||||
 | 
			
		||||
      const btnClose = WTerminal.createElement('button', { title: "Close terminal" });//, "✖")
 | 
			
		||||
      btnClose.innerHTML = "✖";
 | 
			
		||||
      btnClose.onclick = (e) => this.terminalClose();
 | 
			
		||||
      btnClose.onclick = () => this.terminalClose();
 | 
			
		||||
      this.onDocBodyKeyDown = function(event) {
 | 
			
		||||
        //this.printLn('keydown.code ' + event.code);
 | 
			
		||||
        //console.log('terminal keydown.code ' + event.code);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user