From 6556ccef80b6b56e782bf76c940ea203753e9dd9 Mon Sep 17 00:00:00 2001 From: Martin Carlberg Date: Thu, 16 May 2013 11:26:01 +0200 Subject: [PATCH] Fixed: Removed use of global variable --- AppKit/CPFont.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPFont.j b/AppKit/CPFont.j index 5bfc16419..c9d53ebe2 100644 --- a/AppKit/CPFont.j +++ b/AppKit/CPFont.j @@ -208,7 +208,7 @@ following: var systemSize = String(_CPFontSystemFontSize), currentSize = String(CPFontCurrentSystemSize); - for (key in _CPSystemFontCache) + for (var key in _CPSystemFontCache) { if (_CPSystemFontCache.hasOwnProperty(key) && (key.indexOf(systemSize) === 0 || key.indexOf(currentSize) === 0))