From 4efa15decfac9dfd8cb3128ab0fab6877f36521f Mon Sep 17 00:00:00 2001 From: Seva Lotoshnikov Date: Thu, 16 Jul 2015 11:44:41 -0700 Subject: [PATCH] Make code compile with a future version of the compiler. Values of this type are used as keys in bot.Mouse.MOUSE_BUTTON_VALUE_MAP_. A new check will verify that keys in Objects are either native or "stringifiable" (have toString method). On behalf of closure-compiler engineers. --- javascript/atoms/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/atoms/events.js b/javascript/atoms/events.js index 34a79f74dd3f4..d558b73a3a192 100644 --- a/javascript/atoms/events.js +++ b/javascript/atoms/events.js @@ -652,7 +652,7 @@ bot.events.MSPointerEventFactory_.prototype.create = function(target, * http://en.wikipedia.org/wiki/DOM_events and * http://www.w3.org/Submission/pointer-events/#pointer-event-types * - * @enum {!Object} + * @enum {!bot.events.EventFactory_} */ bot.events.EventType = { BLUR: new bot.events.EventFactory_('blur', false, false),