Add some stub for the animation.
author |
wycc |
date |
Tue, 21 Dec 2010 14:36:50 +0800 |
parents |
a821ad26f6d9 |
children |
a2b068594412 d4dbcb93aee0 |
files |
nodejs/mbapp.js nodejs/svg.js |
diffstat |
2 files changed, 6 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/nodejs/mbapp.js Tue Dec 21 14:36:24 2010 +0800
+++ b/nodejs/mbapp.js Tue Dec 21 14:36:50 2010 +0800
@@ -169,6 +169,11 @@
}
}
}
+
+app.prototype.runToScene=function(n) {
+
+}
+
app.prototype.addSceneListener=function(n, cb) {
sys.puts("This is not implemented yet")
}
--- a/nodejs/svg.js Tue Dec 21 14:36:24 2010 +0800
+++ b/nodejs/svg.js Tue Dec 21 14:36:50 2010 +0800
@@ -1218,6 +1218,7 @@
scene.end = scene.start;
}
scene.ref = node.attr('ref').value();
+ scene.type = node.attr('type').value();
try {
this.scenenames[node.attr('name').value()] = scene.start;