# HG changeset patch # User wycc # Date 1292913410 -28800 # Node ID 593a418ed8bf6d6bed7ca5c74f8bccb81383a8f2 # Parent a821ad26f6d932537293125782e571a0bf7f4d83 Add some stub for the animation. diff -r a821ad26f6d9 -r 593a418ed8bf nodejs/mbapp.js --- 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") } diff -r a821ad26f6d9 -r 593a418ed8bf nodejs/svg.js --- 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;