diff nodejs/testsvg.js @ 723:8af3b87b502e

Correct syntax if a statement
author Thinker K.F. Li <thinker@branda.to>
date Mon, 16 Aug 2010 00:14:01 +0800
parents f95d58a8edd1
children d479f319d7b7
line wrap: on
line diff
--- a/nodejs/testsvg.js	Sun Aug 15 19:44:09 2010 +0800
+++ b/nodejs/testsvg.js	Mon Aug 16 00:14:01 2010 +0800
@@ -4,9 +4,9 @@
 
 app = new mbapp.app();
 app.loadSVG("test.svg");
-lightbar = app.get("item_lightbar")
-item=1
-lightbar[5] = app.get("item"+item)[5]
+lightbar = app.get("item_lightbar");
+item=1;
+lightbar[5] = app.get("item"+item)[5];
 
 function animated(app,obj) {
 	var d=obj.animated_loc - obj[5];