From 1dc53ed1498f6eee5a24f072ca93d93934a4eb2c Mon Sep 17 00:00:00 2001 From: Klaas Pieter Annema Date: Fri, 28 Jan 2011 23:30:10 +0100 Subject: [PATCH] lint CPPlatformWindow+DOM.j --- AppKit/Platform/DOM/CPPlatformWindow+DOM.j | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/AppKit/Platform/DOM/CPPlatformWindow+DOM.j b/AppKit/Platform/DOM/CPPlatformWindow+DOM.j index 0ed350b7e..aa7d79c0f 100644 --- a/AppKit/Platform/DOM/CPPlatformWindow+DOM.j +++ b/AppKit/Platform/DOM/CPPlatformWindow+DOM.j @@ -188,9 +188,8 @@ var ModifierKeyCodes = [ CPKeyCodes.CTRL, CPKeyCodes.ALT, CPKeyCodes.SHIFT -]; - -var supportsNativeDragAndDrop = [CPPlatform supportsDragAndDrop]; + ], + supportsNativeDragAndDrop = [CPPlatform supportsDragAndDrop]; @implementation CPPlatformWindow (DOM) @@ -1033,7 +1032,7 @@ var supportsNativeDragAndDrop = [CPPlatform supportsDragAndDrop]; // We lag 1 event behind without this timeout. setTimeout(function() - { + { // Find the scroll delta var deltaX = _DOMScrollingElement.scrollLeft - 150, deltaY = _DOMScrollingElement.scrollTop - 150;