Skip to content

Commit

Permalink
Make code compile with a future version of the compiler.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sevaseva committed Jul 16, 2015
1 parent f919e5c commit 4efa15d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/atoms/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 4efa15d

Please sign in to comment.