Mercurial > MadButterfly
comparison nodejs/animate.js @ 860:9303fb45a958 abs_n_rel_center
Remove unused variables
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 20 Sep 2010 22:43:44 +0800 |
parents | ed49dc0a26f1 |
children | 3ce9daa9558b |
comparison
equal
deleted
inserted
replaced
859:e2bf6a93bb1c | 860:9303fb45a958 |
---|---|
171 obj.animated_scale = this; | 171 obj.animated_scale = this; |
172 this.app = app; | 172 this.app = app; |
173 this.obj = obj; | 173 this.obj = obj; |
174 this.end = 0; | 174 this.end = 0; |
175 this.starttime = Date.now(); | 175 this.starttime = Date.now(); |
176 this.startsx = obj[0]; | |
177 this.startsy = obj[4]; | |
178 this.targetx = targetx; | 176 this.targetx = targetx; |
179 this.targety = targety; | 177 this.targety = targety; |
180 this.duration = duration*1000; | 178 this.duration = duration*1000; |
181 this.center_x = obj.center.rel.x; | 179 this.center_x = obj.center.rel.x; |
182 this.center_y = obj.center.rel.y; | 180 this.center_y = obj.center.rel.y; |