rem:  var pane = this; this.titleElement.addEventListener("click", function() { pane.expanded = !pane.expanded; }, false); 
add: this.titleElement.addEventListener("click", this.toggleExpanded.bind(this), false); 
context: WebInspector.SidebarPane = function(title){    this.element = document.createElement("div");    this.element.className = "pane";    this.titleElement = document.createElement("div");    this.titleElement.className = "title";    var pane = this;    this.titleElement.addEventListener("click", function() { pane.expanded = !pane.expanded; }, false);    this.bodyElement = document.createElement("div");    this.bodyElement.className = "body";    this.element.appendChild(this.titleElement);    this.element.appendChild(this.bodyElement);    this.title = title;    this.growbarVisible = false;    this.expanded = false;}
meta: 5650	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5650/30e07e565a3698c3faf103baaca79ee99b97c3f1/SidebarPane.js/buggy/WebCore/page/inspector/SidebarPane.js