Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Autocorrect #9052

Merged
merged 1 commit into from Apr 11, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/keyboard/js/imes/jskanji/jskanji.js
Expand Up @@ -369,7 +369,7 @@
}
};

this.activate = function ime_activate(language, suggestions, state) {
this.activate = function ime_activate(language, state, options) {
var inputType = state.type;
debug('Activate. Input type: ' + inputType);
var layout = IMELayouts.JP;
Expand Down
6 changes: 3 additions & 3 deletions apps/keyboard/js/imes/jspinyin/jspinyin.js
Expand Up @@ -291,7 +291,7 @@ IMEngineBase.prototype = {
/**
* Notifies when the IM is shown
*/
activate: function engineBase_activate(language, suggestions, state) {
activate: function engineBase_activate(language, state, options) {
}
};

Expand Down Expand Up @@ -700,9 +700,9 @@ IMEngine.prototype = {
/**
* Override
*/
activate: function engine_activate(language, suggestions, state) {
activate: function engine_activate(language, state, options) {
var inputType = state.type;
IMEngineBase.prototype.activate.call(this, language, suggestions, state);
IMEngineBase.prototype.activate.call(this, language, state, options);
debug('Activate. Input type: ' + inputType);
PinyinDecoderService.flushCache(null);
var keyboard = this._inputTraditionalChinese ?
Expand Down