Mercurial > MadButterfly
view nodejs/examples/testsvg/svgviewer.js @ 1147:5cfa73d7e80f
Add the Run button to simulate the animation
author | wycc |
---|---|
date | Fri, 24 Dec 2010 15:00:28 +0800 |
parents | a74b4d986a91 |
children |
line wrap: on
line source
// -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*- // vim: sw=4:ts=8:sts=4 var svg = require("svg"); var mbapp = require("mbapp"); app = new mbapp.app(); app.loadSVG("test.svg"); app.loop();