lint CPPlatformWindow+DOM.j

This commit is contained in:
Klaas Pieter Annema committed 2011-03-04 10:20:55 +01:00
1 parent b57b705b1d
commit 1dc53ed149
1 file changed
+3 -4
+3 -4
View File
@@ -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;