| Index: tools/dom/templates/html/impl/impl_Element.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| index 816f2b00902d0352a20c39e4d8c63d82e93775f1..6e3bac117b4e781eb0025c0590fe18019f2e328c 100644
|
| --- a/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| @@ -944,18 +944,7 @@ $if DART2JS
|
| const _CustomEventStreamProvider<WheelEvent>(
|
| Element._determineMouseWheelEventType);
|
|
|
| - static String _determineMouseWheelEventType(EventTarget e) {
|
| - if (JS('bool', '#.onwheel !== undefined', e)) {
|
| - // W3C spec, and should be IE9+, but IE has a bug exposing onwheel.
|
| - return 'wheel';
|
| - } else if (JS('bool', '#.onmousewheel !== undefined', e)) {
|
| - // Chrome & IE
|
| - return 'mousewheel';
|
| - } else {
|
| - // Firefox
|
| - return 'DOMMouseScroll';
|
| - }
|
| - }
|
| + static String _determineMouseWheelEventType(EventTarget e) => 'wheel';
|
|
|
| /**
|
| * Static factory designed to expose `transitionend` events to event
|
|
|