# HG changeset patch # User wycc # Date 1287432292 -28800 # Node ID 410478ded5d2397cc03fb6ead349e737fc32a025 # Parent 45625c200efecc0322ea1dcdfe804d0fa77a2d73 Remove debug message diff -r 45625c200efe -r 410478ded5d2 nodejs/animate.js --- a/nodejs/animate.js Sat Oct 16 19:01:32 2010 +0800 +++ b/nodejs/animate.js Tue Oct 19 04:04:52 2010 +0800 @@ -52,7 +52,6 @@ sv = Math.sin(ang); cv = Math.cos(ang); mtx = [cv, -sv, 0, sv, cv, 0]; - sys.puts('x='+obj.center.x+',y='+obj.center.y); shift = [1, 0, -obj.center.x, 0, 1, -obj.center.y]; mtx = multiply(mtx, shift); shift = [1, 0, obj.center.x, 0, 1, obj.center.y]; @@ -209,14 +208,11 @@ var now = Date.now(); var i; - sys.puts("real time is "+now); - sys.puts("end is "+this.end); if (now >= this.end) { this.timer.stop(); now = this.end; } if (now < this.startmove) return; - sys.puts("now is "+now+" offset is "+(now-this.startmove)); var per = (now-this.startmove)/this.duration/1000; if (per > 1) per = 1; this.action.draw(per); @@ -331,7 +327,6 @@ exports.run = function(actions,start,duration) { for(a in actions) { var li = new linear(actions[a],start,duration); - sys.puts(li); li.start(); } }