mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove trailing whitespace
This commit is contained in:
@@ -49,7 +49,7 @@ function isEventSupported(eventNameSuffix, capture) {
|
||||
capture && !('addEventListener' in document)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
var eventName = 'on' + eventNameSuffix;
|
||||
var isSupported = eventName in document;
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ var WheelEventInterface = {
|
||||
);
|
||||
},
|
||||
deltaZ: null,
|
||||
|
||||
|
||||
// Browsers without "deltaMode" is reporting in raw wheel delta where one
|
||||
// notch on the scroll is always +/- 120, roughly equivalent to pixels.
|
||||
// A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or
|
||||
|
||||
Reference in New Issue
Block a user