Skip to content

Commit

Permalink
Fix: 'eventType' should be 'inputType'
Browse files Browse the repository at this point in the history
  • Loading branch information
garykac committed Mar 4, 2016
1 parent 0e50f00 commit a349546
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/key-event-viewer.js
Expand Up @@ -141,7 +141,7 @@ function addInputEvent(etype, e) {
var eventinfo = {};
eventinfo["etype"] = calcRichString(etype, e.type, true);
eventinfo["isComposing"] = e.isComposing;
eventinfo["eventType"] = e.eventType;
eventinfo["inputType"] = e.inputType;
eventinfo["data"] = calcString(e.data);
addEvent(eventinfo);
}
Expand Down Expand Up @@ -201,7 +201,7 @@ function addEvent(eventinfo) {
addTableCellText(row, eventinfo["location"], "uievents");
addTableCellBoolean(row, eventinfo["repeat"], "uievents");
addTableCellBoolean(row, eventinfo["isComposing"], "uievents");
addTableCell(row, eventinfo["eventType"], "uievents");
addTableCell(row, eventinfo["inputType"], "uievents");
addTableCellText(row, eventinfo["data"], "uievents");
addTableCellText(row, eventinfo["locale"], "uievents");
addInputCell(row);
Expand Down Expand Up @@ -388,7 +388,7 @@ function createTableHeader() {
addTableCellText(row2, "location", "uievents", ["uievents_header", "subheader"]);
addTableCellText(row2, "repeat", "uievents", ["uievents_header", "subheader"]);
addTableCellText(row2, "isComposing", "uievents", ["uievents_header", "subheader"]);
addTableCellText(row2, "eventType", "uievents", ["uievents_header", "subheader"]);
addTableCellText(row2, "inputType", "uievents", ["uievents_header", "subheader"]);
addTableCellText(row2, "data", "uievents", ["uievents_header", "subheader"]);
// KeyboardEvent - Proposed
addTableCellText(row1, "Proposed", "proposed", "proposed_header", 1);
Expand Down

0 comments on commit a349546

Please sign in to comment.