* Check if a composition event was triggered by Korean IME. * Our fallback mode does not work well with IE's Korean IME, * so just use native composition events when Korean IME is used. * Although CompositionEvent.locale property is deprecated, * it is available in IE, where our fallback
(nativeEvent)
| 8903 | |
| 8904 | |
| 8905 | function isUsingKoreanIME(nativeEvent) { |
| 8906 | return nativeEvent.locale === 'ko'; |
| 8907 | } // Track the current IME composition status, if any. |
| 8908 | |
| 8909 | |
| 8910 | var isComposing = false; |
no outgoing calls
no test coverage detected