Fix accidental globals.

This commit is contained in:
Alexander Ljungberg
2011-03-01 00:02:35 -03:00
parent dedf3cd90f
commit 50e5fa2c8e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -462,7 +462,7 @@ var STICKY_TIME_INTERVAL = 500,
while (low <= high)
{
var middle = FLOOR(low + (high - low) / 2),
info = _visibleMenuItemInfos[middle]
info = _visibleMenuItemInfos[middle],
frame = [info.view frame];
if (y < CGRectGetMinY(frame))
+1 -1
View File
@@ -106,7 +106,7 @@ var _CPStandardWindowViewBodyBackgroundColor = nil,
_CPStandardWindowViewMinimizeButtonImage = nil,
_CPStandardWindowViewMinimizeButtonHighlightedImage = nil;
var STANDARD_GRADIENT_HEIGHT = 41.0;
var STANDARD_GRADIENT_HEIGHT = 41.0,
STANDARD_TITLEBAR_HEIGHT = 25.0;
@implementation _CPStandardWindowView : _CPWindowView
+1 -1
View File
@@ -188,7 +188,7 @@ CFMutableDictionary.prototype.removeValueForKey = function(/*String*/ aKey)
var keys = this._keys,
index = 0,
count = keys.length;
for (; index < count; ++index)
if (keys[index] === aKey)
{