From: handa Date: Sun, 28 Feb 2010 23:45:11 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: ALPHA~39 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=bf41c242ed40a155a9ca3a929c1cbf5ddd96fb9a;p=m17n%2Fm17n-lib-js.git *** empty log message *** --- diff --git a/xex.html b/xex.html index 44ba89f..b81aeec 100644 --- a/xex.html +++ b/xex.html @@ -14,14 +14,14 @@

m17n-lib input method in Javascript

-

textarea

- -
text
+ + +
textarea
text
debug Info
keykeycodestatuskeymappreedit
down0
press0
- + diff --git a/xex.js b/xex.js index f810cfb..7b1ab7e 100644 --- a/xex.js +++ b/xex.js @@ -2032,10 +2032,12 @@ MIM.im_domain.DefType (MIM.State.prototype); function Fpushback (domain, vari, args) { - var arg = (args[0].IsInt ? args[0].Intval - : args[0].IsStr ? new KeySeq (args[0]) - : args[0]); - domain.context.pushback (arg) + var a = (args[0].IsInt ? args[0].Intval + : args[0].IsStr ? new KeySeq (args[0]) + : args[0]); + Xex.Log ("pushing back: " + a); + domain.context.pushback (a); + Xex.Log ("head key: " + domain.context.keys[domain.context.key_head]); return args[0]; }