annotate nodejs/svgviewer.js @ 890:58a4e9bb8bb7 abs_n_rel_center

A SVG viewer
author Thinker K.F. Li <thinker@codemud.net>
date Sun, 26 Sep 2010 14:11:41 +0800
parents
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();