Mercurial > MadButterfly
annotate nodejs/examples/testsvg/svgviewer.js @ 1411:5dd46a4f6257
Update the SVG to add more animations.
author | wycc |
---|---|
date | Wed, 06 Apr 2011 08:17:00 +0800 |
parents | a74b4d986a91 |
children |
rev | line source |
---|---|
890 | 1 // -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*- |
2 // vim: sw=4:ts=8:sts=4 | |
939
a74b4d986a91
Move examples for nodejs into nodejs/examples/ sub-directories.
Thinker K.F. Li <thinker@codemud.net>
parents:
890
diff
changeset
|
3 var svg = require("svg"); |
a74b4d986a91
Move examples for nodejs into nodejs/examples/ sub-directories.
Thinker K.F. Li <thinker@codemud.net>
parents:
890
diff
changeset
|
4 var mbapp = require("mbapp"); |
890 | 5 |
6 app = new mbapp.app(); | |
7 app.loadSVG("test.svg"); | |
8 app.loop(); |