Merge pull request #2394 from DerNivel/fix-typos

Fix typos
This commit is contained in:
Cheng Zhao 2015-08-03 15:04:13 +08:00
commit 7c5d443284
2 changed files with 2 additions and 2 deletions

View file

@ -184,7 +184,7 @@ const char* AppCommandToString(int command_id) {
case APPCOMMAND_DICTATE_OR_COMMAND_CONTROL_TOGGLE:
return "dictate-or-command-control-toggle";
default:
return "unkown";
return "unknown";
}
}
#endif

View file

@ -27,7 +27,7 @@ WEB_VIEW_EVENTS =
'leave-html-full-screen': []
dispatchEvent = (webView, event, args...) ->
throw new Error("Unkown event #{event}") unless WEB_VIEW_EVENTS[event]?
throw new Error("Unknown event #{event}") unless WEB_VIEW_EVENTS[event]?
domEvent = new Event(event)
for f, i in WEB_VIEW_EVENTS[event]
domEvent[f] = args[i]