Confirmed users
478
edits
Line 194: | Line 194: | ||
} else { | } else { | ||
inputContext.commitText('☃'); | inputContext.commitText('☃'); | ||
' | ['S', 'N', 'O', 'W'].forEach(function (k) { | ||
// For capital Latin letters, keyCode is same as the charCode. | // For capital Latin letters, keyCode is same as the charCode. | ||
inputContext.sendKey(k.charCodeAt(0), k.charCodeAt(0)); | inputContext.sendKey(k.charCodeAt(0), k.charCodeAt(0)); |