From bc590286f2cc11082c0e562836a98cbffad53b14 Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Wed, 9 Nov 2011 22:55:11 +0000 Subject: [PATCH] Missing semicolons. --- AppKit/_CPAttachedWindow.j | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/AppKit/_CPAttachedWindow.j b/AppKit/_CPAttachedWindow.j index ad69465ef..8dc6d24f0 100644 --- a/AppKit/_CPAttachedWindow.j +++ b/AppKit/_CPAttachedWindow.j @@ -110,7 +110,7 @@ var _CPAttachedWindow_attachedWindowShouldClose_ = 1 << 0, */ - (id)initWithContentRect:(CGRect)aFrame { - self = [self initWithContentRect:aFrame styleMask:nil] + self = [self initWithContentRect:aFrame styleMask:nil]; return self; } @@ -254,7 +254,7 @@ var _CPAttachedWindow_attachedWindowShouldClose_ = 1 << 0, // CPMinXEdge originLeft.x -= CPRectGetWidth([self frame]); - originLeft.y += (aRect.size.height / 2.0) - (CPRectGetHeight([self frame]) / 2.0) + originLeft.y += (aRect.size.height / 2.0) - (CPRectGetHeight([self frame]) / 2.0); // CPMaxYEdge originBottom.x += aRect.size.width / 2.0 - CPRectGetWidth([self frame]) / 2.0; @@ -381,7 +381,7 @@ var _CPAttachedWindow_attachedWindowShouldClose_ = 1 << 0, */ - (void)positionRelativeToRect:(CPRect)aRect { - [self positionRelativeToRect:aRect preferredEdge:nil] + [self positionRelativeToRect:aRect preferredEdge:nil]; } /*! @@ -470,16 +470,18 @@ var _CPAttachedWindow_attachedWindowShouldClose_ = 1 << 0, _DOMElement.style.opacity = 0; _DOMElement.style.WebkitTransform = "scale(0)"; _DOMElement.style.WebkitTransformOrigin = tranformOrigin; - window.setTimeout(function(){ + window.setTimeout(function() + { _DOMElement.style.height = _frame.size.height + @"px"; _DOMElement.style.width = _frame.size.width + @"px"; _DOMElement.style.opacity = 1; _DOMElement.style.WebkitTransform = "scale(1.1)"; - var transitionEndFunction = function(){ + var transitionEndFunction = function() + { _DOMElement.style.WebkitTransform = "scale(1)"; _DOMElement.removeEventListener("webkitTransitionEnd", transitionEndFunction, YES); }; - _DOMElement.addEventListener("webkitTransitionEnd", transitionEndFunction, YES) + _DOMElement.addEventListener("webkitTransitionEnd", transitionEndFunction, YES); },0); }