rem: } 
add: }, 
context: 	handleInput : function(e) {		if (e.keyCode == 13 ) {      			var command = this.inputElement.value;						switch(command) {				case "clear":					this.logger.clear();  					break;									default:        					var consoleOutput = "";									try {						consoleOutput = eval(this.inputElement.value);					} catch (e) {  						this.logger.error("Problem parsing input <" + command + ">" + e.message);						break;					}											this.logger.trace(consoleOutput);					break;			}        					if (this.inputElement.value !== "" && this.inputElement.value !== this.commandHistory[0]) {				this.commandHistory.unshift(this.inputElement.value);			}		  			this.commandIndex = 0;			this.inputElement.value = "";                                                     		} else if (e.keyCode == 38 && this.commandHistory.length > 0) {    		this.inputElement.value = this.commandHistory[this.commandIndex];			if (this.commandIndex < this.commandHistory.length - 1) {      			this.commandIndex += 1;      		}    	} else if (e.keyCode == 40 && this.commandHistory.length > 0) {    		if (this.commandIndex > 0) {                                            			this.commandIndex -= 1;	    	}                       			this.inputElement.value = this.commandHistory[this.commandIndex];	  	} else {    		this.commandIndex = 0;    	}	}
meta: 8932	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8932/afe31b5fce5f19f92def0be8e9e7d55a105da20e/log4js.js/clean/trunk/src/js/log4js.js