[email protected] | 348cf5e6 | 2014-08-02 11:27:13 | [diff] [blame] | 1 | diff --git a/javascript/atoms/mouse.js b/javascript/atoms/mouse.js |
gmanikpure | d7a60ac4 | 2015-09-24 02:42:33 | [diff] [blame] | 2 | index 413586e..17b826a 100644 |
[email protected] | 348cf5e6 | 2014-08-02 11:27:13 | [diff] [blame] | 3 | --- a/javascript/atoms/mouse.js |
| 4 | +++ b/javascript/atoms/mouse.js |
samuong | d6e5a1b3 | 2015-06-23 15:13:46 | [diff] [blame] | 5 | @@ -143,7 +143,7 @@ bot.Mouse.NO_BUTTON_VALUE_INDEX_ = 3; |
[email protected] | 348cf5e6 | 2014-08-02 11:27:13 | [diff] [blame] | 6 | * click/ mouseup/ mouseout/ mousemove contextmenu |
| 7 | * dblclick mousedown mouseover |
| 8 | * IE_DOC_PRE9 0 0 0 X 1 4 2 X 0 0 0 0 1 4 2 0 X X 0 X |
| 9 | - * WEBKIT/IE9 0 1 2 X 0 1 2 X 0 1 2 0 0 1 2 0 X X 2 X |
| 10 | + * WEBKIT/IE9 0 1 2 X 0 1 2 X 0 1 2 4 0 1 2 4 X X 2 X |
samuong | d6e5a1b3 | 2015-06-23 15:13:46 | [diff] [blame] | 11 | * GECKO 0 1 2 X 0 1 2 X 0 0 0 0 0 0 0 0 X X 2 X |
[email protected] | 348cf5e6 | 2014-08-02 11:27:13 | [diff] [blame] | 12 | * </pre> |
| 13 | * @private {!Object.<bot.events.EventType, !Array.<?number>>} |
samuong | d6e5a1b3 | 2015-06-23 15:13:46 | [diff] [blame] | 14 | @@ -163,8 +163,8 @@ bot.Mouse.MOUSE_BUTTON_VALUE_MAP_ = (function() { |
[email protected] | 348cf5e6 | 2014-08-02 11:27:13 | [diff] [blame] | 15 | buttonValueMap[bot.events.EventType.CLICK] = [0, 1, 2, null]; |
| 16 | buttonValueMap[bot.events.EventType.CONTEXTMENU] = [null, null, 2, null]; |
| 17 | buttonValueMap[bot.events.EventType.MOUSEUP] = [0, 1, 2, null]; |
| 18 | - buttonValueMap[bot.events.EventType.MOUSEOUT] = [0, 1, 2, 0]; |
| 19 | - buttonValueMap[bot.events.EventType.MOUSEMOVE] = [0, 1, 2, 0]; |
| 20 | + buttonValueMap[bot.events.EventType.MOUSEOUT] = [0, 1, 2, 4]; |
| 21 | + buttonValueMap[bot.events.EventType.MOUSEMOVE] = [0, 1, 2, 4]; |
| 22 | } else { |
| 23 | buttonValueMap[bot.events.EventType.CLICK] = [0, 1, 2, null]; |
| 24 | buttonValueMap[bot.events.EventType.CONTEXTMENU] = [null, null, 2, null]; |
samuong | 0381177 | 2015-07-22 20:25:53 | [diff] [blame] | 25 | diff --git a/rake-tasks/crazy_fun/mappings/javascript.rb b/rake-tasks/crazy_fun/mappings/javascript.rb |
gmanikpure | d7a60ac4 | 2015-09-24 02:42:33 | [diff] [blame] | 26 | index a2f93bd..27a4292 100644 |
samuong | 0381177 | 2015-07-22 20:25:53 | [diff] [blame] | 27 | --- a/rake-tasks/crazy_fun/mappings/javascript.rb |
| 28 | +++ b/rake-tasks/crazy_fun/mappings/javascript.rb |
gmanikpure | d7a60ac4 | 2015-09-24 02:42:33 | [diff] [blame] | 29 | @@ -876,6 +876,8 @@ module Javascript |
samuong | 0381177 | 2015-07-22 20:25:53 | [diff] [blame] | 30 | "--jscomp_error=undefinedVars " << |
| 31 | "--jscomp_error=uselessCode " << |
| 32 | "--jscomp_error=visibility " << |
| 33 | + # Work around https://github.com/google/closure-compiler/issues/1044 |
| 34 | + "--use_types_for_optimization=false " << |
| 35 | "--js='" << |
| 36 | all_deps.join("' --js='") << "'" |
| 37 | |