mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Remove trailing whitespace
This commit is contained in:
1 parent
979ee27e2b
commit
49d6d2169d
2 files changed
+2
-2
No files matched your search
@@ -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