From 47196cbc55be293c226678e0fdb74dd73dd6aca0 Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Fri, 19 Aug 2016 14:57:57 +0100 Subject: [PATCH] Typos. --- AppKit/CPWindow/CPWindow.j | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/AppKit/CPWindow/CPWindow.j b/AppKit/CPWindow/CPWindow.j index c9e8381aa..380b2b149 100644 --- a/AppKit/CPWindow/CPWindow.j +++ b/AppKit/CPWindow/CPWindow.j @@ -4201,12 +4201,11 @@ var interpolate = function(fromValue, toValue, progress) { // This will put a tracking event in the _queuedTrackingEvents queue. // - // We optimize this queue with this policy : + // We optimize this queue with this policy: // - if mouseEntered, search if queue contains a previous mouseExited for the same tracking area. If so, discard both. // - if mouseExited, search if queue contains a previous mouseEntered for the same tracking area. If so, discard both. // - // This is not Cocoa way of doing as it would send every event. - // But final result should be the same. + // This is not the Cocoa way of doing as it would send every event, but the final result should be the same. var eventType = [anEvent type], trackingArea = [anEvent trackingArea];