1 diff --git a/javascript/atoms/mouse.js b/javascript/atoms/mouse.js
2 index 3f5af55..b94b128 100644
3 --- a/javascript/atoms/mouse.js
4 +++ b/javascript/atoms/mouse.js
5 @@ -143,7 +143,7 @@ bot.Mouse.NO_BUTTON_VALUE_INDEX_ = 3;
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
11 * GECKO 0 1 2 X 0 1 2 X 0 0 0 0 0 0 0 0 X X 2 X
13 * @private {!Object.<bot.events.EventType, !Array.<?number>>}
14 @@ -163,8 +163,8 @@ bot.Mouse.MOUSE_BUTTON_VALUE_MAP_ = (function() {
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];
23 buttonValueMap[bot.events.EventType.CLICK] = [0, 1, 2, null];
24 buttonValueMap[bot.events.EventType.CONTEXTMENU] = [null, null, 2, null];
25 diff --git a/rake-tasks/crazy_fun/mappings/javascript.rb b/rake-tasks/crazy_fun/mappings/javascript.rb
26 index 5602049..b46a17c 100644
27 --- a/rake-tasks/crazy_fun/mappings/javascript.rb
28 +++ b/rake-tasks/crazy_fun/mappings/javascript.rb
29 @@ -878,6 +878,8 @@ module Javascript
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 " <<
36 all_deps.join("' --js='") << "'"