oxjs/source
Will Thompson 3ed5da882f Element: 'fix' mousewheel event before modifying it
In strict mode (in recent browsers), modifying deltaX on a WheelEvent
throws an exception:

Uncaught TypeError: Cannot set property deltaX of #<WheelEvent> which has only a getter

In non-strict mode or older browsers, assigning to deltaX is just a
no-op.

https://github.com/jquery/jquery-mousewheel/blob/master/jquery.mousewheel.js
is cited in this function; it uses $.event.fix() to make a mutable
jQuery.Event-flavoured copy of the native event before modifying its
properties. Let's do the same.

Fixes #2751
2015-05-20 12:33:44 +02:00
..
Geo remove unneeded Ox. prefix from path and file names 2014-09-26 15:51:50 +02:00
Image remove unneeded Ox. prefix from path and file names 2014-09-26 15:51:50 +02:00
Ox Ox.trace: formatting; add documentation 2015-04-24 13:51:04 +02:00
UI Element: 'fix' mousewheel event before modifying it 2015-05-20 12:33:44 +02:00
Unicode remove unneeded Ox. prefix from path and file names 2014-09-26 15:51:50 +02:00
Ox.js rename build/ to min/ 2014-09-26 18:57:12 +02:00