rem: this.views[view.title.toLowerCase()] = view; 
add: this.views[view.name] = view; 
context: WebInspector.Panel = function(views){    this._visible = false;    this.element = document.createElement("div");    this.element.className = "panel";    this.views = {};    this.viewButtons = [];    if (views) {        var selectViewFunction = function(event)        {            var clickedView = event.currentTarget.view;            clickedView.panel.currentView = clickedView;        };        for (var i = 0; i < views.length; ++i) {            var view = views[i];            view.panel = this;            view.buttonElement = document.createElement("button");            view.buttonElement.setAttribute("title", view.title);            view.buttonElement.addEventListener("click", selectViewFunction, false);            view.buttonElement.appendChild(document.createElement("img"));            view.buttonElement.view = view;            view.contentElement = document.createElement("div");            view.contentElement.className = "content " + view.title.toLowerCase();            this.views[view.title.toLowerCase()] = view;            this.viewButtons.push(view.buttonElement);            this.element.appendChild(view.contentElement);        }    }}
meta: 5650	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5650/81abc84dcf5f8eaa2dfbd11f9563bb8fc5f4c630/Panel.js/clean/WebCore/page/inspector/Panel.js