rem:  var panel = this; var resizeListener = function() { panel.updateFontPreviewSize(); };  window.addEventListener("resize", resizeListener, false); 
context: WebInspector.FontPanel = function(resource){    WebInspector.ResourcePanel.call(this, resource);    this.element.addStyleClass("font");    var uniqueFontName = "WebInspectorFontPreview" + this.resource.identifier;    this.fontPreviewElement = document.createElement("div");    this.fontPreviewElement.className = "preview";    this.element.appendChild(this.fontPreviewElement);    this.fontPreviewElement.style.setProperty("font-family", uniqueFontName, null);    this.fontPreviewElement.innerHTML = "ABCDEFGHIJKLM<br>NOPQRSTUVWXYZ<br>abcdefghijklm<br>nopqrstuvwxyz<br>1234567890";    this.updateFontPreviewSize();    var panel = this;    var resizeListener = function() {        panel.updateFontPreviewSize();    };    window.addEventListener("resize", resizeListener, false);}
meta: 5650	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5650/63e28315b5c63fe081f945e0aee1c4e59c84aa0f/FontPanel.js/clean/WebCore/page/inspector/FontPanel.js