annotate nodejs/svgviewer.js @ 930:30cd14b11bc7

USe the graphics from the Max.
author wycc
date Sat, 06 Nov 2010 00:53:59 +0800
parents 58a4e9bb8bb7
children
rev   line source
890
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
1 // -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*-
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
2 // vim: sw=4:ts=8:sts=4
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
3 var svg = require("./svg");
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
4 var mbapp = require("./mbapp");
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
5
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
6 app = new mbapp.app();
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
7 app.loadSVG("test.svg");
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
8 app.loop();