rem:  $('.code').click(function() { $('.pre', $(this)).toggle(); $('.post', $(this)).toggle(); });  $('.exec_code input.input').keyup(function(e) { var code = e.keyCode || e.which; if (code == 100 || e.ctrlKey) { $('.output', $(this).parent()).empty(); return false; } else if (code == 38 || code == 40) { var parent = $(this).parent(); var tb = $('input[@name="tb"]', parent).attr('value'); var frame = $('input[@name="frame"]', parent).attr('value'); console.debug(tb, frame, parent); if (code == 38) backInHistory(tb, frame, this); else forwardInHistory(tb, frame, this); return false; } return true; }); }); 
context: $(document).ready(function() {  $('.exec_code').hide();  $('.vars').hide();  $('.code .pre').hide();  $('.code .post').hide();  $('.exec_code').submit(function() {    sendCommand(this.tb.value, this.frame.value, this.cmd.value,                $('.output', this));    this.cmd.value = '';    return false;  });  $('.code').click(function() {    $('.pre', $(this)).toggle();    $('.post', $(this)).toggle();  });  $('.exec_code input.input').keyup(function(e) {    var code = e.keyCode || e.which;    if (code == 100 || e.ctrlKey) {      $('.output', $(this).parent()).empty();      return false;    }    else if (code == 38 || code == 40) {      var parent = $(this).parent();      var tb = $('input[@name="tb"]', parent).attr('value');      var frame = $('input[@name="frame"]', parent).attr('value');      console.debug(tb, frame, parent);      if (code == 38)        backInHistory(tb, frame, this);      else        forwardInHistory(tb, frame, this);      return false;    }    return true;  });});
meta: 2241	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2241/7b6655c1a26c8fed1dd62a7d28354ff23ea1efa4/debugger.js/buggy/werkzeug/debug/shared/debugger.js