}
};
+if (window.location == 'http://localhost/mim/index.html')
+ MIM.server = 'http://localhost/mim';
+
(function () {
var keysyms = new Array ();
keysyms["bs"] = "backspace";
var proto = {
Load: function ()
{
- var node = Xex.Load (null, this.file);
+ var node = Xex.Load (MIM.server, this.file);
if (! node)
{
this.load_status = MIM.LoadStatus.Error;
MIM.IC.prototype = proto;
- var node = Xex.Load (null, "imlist.xml");
+ var node = Xex.Load (MIM.server, "imlist.xml");
for (node = node.firstChild; node; node = node.nextSibling)
if (node.nodeName == 'input-method')
{
MIM.add_event_listener (window, 'keydown', MIM.keydown);
MIM.add_event_listener (window, 'keypress', MIM.keypress);
MIM.add_event_listener (window, 'mousedown', create_menu);
- if (window.location == 'http://localhost/mim/index.html')
- MIM.server = 'http://localhost/mim';
- MIM.current = MIM.imlist['zh']['py-gb'];
+ MIM.current = MIM.imlist['t']['latn-post'];
};
}) ();