blob: a28759d43f1dbf4326d287db852ed4fd3843b06f [file] [log] [blame]
[email protected]348cf5e62014-08-02 11:27:131diff --git a/javascript/atoms/mouse.js b/javascript/atoms/mouse.js
gmanikpured7a60ac42015-09-24 02:42:332index 413586e..17b826a 100644
[email protected]348cf5e62014-08-02 11:27:133--- a/javascript/atoms/mouse.js
4+++ b/javascript/atoms/mouse.js
samuongd6e5a1b32015-06-23 15:13:465@@ -143,7 +143,7 @@ bot.Mouse.NO_BUTTON_VALUE_INDEX_ = 3;
[email protected]348cf5e62014-08-02 11:27:136 * 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
samuongd6e5a1b32015-06-23 15:13:4611 * GECKO 0 1 2 X 0 1 2 X 0 0 0 0 0 0 0 0 X X 2 X
[email protected]348cf5e62014-08-02 11:27:1312 * </pre>
13 * @private {!Object.<bot.events.EventType, !Array.<?number>>}
samuongd6e5a1b32015-06-23 15:13:4614@@ -163,8 +163,8 @@ bot.Mouse.MOUSE_BUTTON_VALUE_MAP_ = (function() {
[email protected]348cf5e62014-08-02 11:27:1315 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];
samuong03811772015-07-22 20:25:5325diff --git a/rake-tasks/crazy_fun/mappings/javascript.rb b/rake-tasks/crazy_fun/mappings/javascript.rb
gmanikpured7a60ac42015-09-24 02:42:3326index a2f93bd..27a4292 100644
samuong03811772015-07-22 20:25:5327--- a/rake-tasks/crazy_fun/mappings/javascript.rb
28+++ b/rake-tasks/crazy_fun/mappings/javascript.rb
gmanikpured7a60ac42015-09-24 02:42:3329@@ -876,6 +876,8 @@ module Javascript
samuong03811772015-07-22 20:25:5330 "--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