comparison nodejs/mbapp.js @ 889:0a4b92e4ff75 abs_n_rel_center

Remove unused debug message
author Thinker K.F. Li <thinker@codemud.net>
date Sun, 26 Sep 2010 14:10:00 +0800
parents 3457f2d8b0b8
children 45625c200efe
comparison
equal deleted inserted replaced
888:143ac14c3ce9 889:0a4b92e4ff75
104 app.prototype.loadSVG=function(fname) { 104 app.prototype.loadSVG=function(fname) {
105 svg.loadSVG(this.mb_rt,this.mb_rt.root,fname); 105 svg.loadSVG(this.mb_rt,this.mb_rt.root,fname);
106 } 106 }
107 107
108 app.prototype.KeyPress = function(evt) { 108 app.prototype.KeyPress = function(evt) {
109 sys.puts(evt.sym);
110 if (this.onKeyPress) this.onKeyPress(evt.sym); 109 if (this.onKeyPress) this.onKeyPress(evt.sym);
111 if (evt.sym in this.keymap) this.keymap[evt.sym](); 110 if (evt.sym in this.keymap) this.keymap[evt.sym]();
112 } 111 }
113 112
114 app.prototype.loop=function() { 113 app.prototype.loop=function() {