changeset 1437:7f4edd6e175e

Update symbol easier.
author wycc
date Mon, 11 Apr 2011 13:00:54 +0800
parents a9e96291ef0b
children d19f47691d5e
files nodejs/mbapp.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nodejs/mbapp.js	Mon Apr 11 13:00:11 2011 +0800
+++ b/nodejs/mbapp.js	Mon Apr 11 13:00:54 2011 +0800
@@ -237,8 +237,8 @@
     for(i in nodes) {
         coord= nodes[i];
 	if (coord.target) {
+	    this._componentmanager.add(coord,coord.dup);
 	    this.generateScaleTweenObject(coord.dup,coord,coord.target,p,'');
-	    this._componentmanager.add(coord,coord.dup);
 	} else {
 	    sys.puts(coord.id);
 	    sys.puts(coord[0]);