# HG changeset patch # User wycc # Date 1287226892 -28800 # Node ID 45625c200efecc0322ea1dcdfe804d0fa77a2d73 # Parent 095cf170f5fdee3f6543a73636fd6013b46d6fd2 Fix tab issue. diff -r 095cf170f5fd -r 45625c200efe nodejs/mbapp.js --- a/nodejs/mbapp.js Mon Oct 04 23:03:56 2010 +0800 +++ b/nodejs/mbapp.js Sat Oct 16 19:01:32 2010 +0800 @@ -97,9 +97,9 @@ paint.fill(background); mb_rt.root.add_shape(background); - this.mb_rt.kbevents.add_event_observer(exports.EVT_KB_PRESS, function(evt) { self.KeyPress(evt);}); - this.keymap={}; - this.onKeyPress = null; + this.mb_rt.kbevents.add_event_observer(exports.EVT_KB_PRESS, function(evt) { self.KeyPress(evt);}); + this.keymap={}; + this.onKeyPress = null; } app.prototype.loadSVG=function(fname) { svg.loadSVG(this.mb_rt,this.mb_rt.root,fname);