annotate nodejs/svgviewer.js @ 912:a934ad0c8968

Add the sample app framework. The scene framework will be added latter for multi scene applications.
author wycc
date Tue, 19 Oct 2010 04:07:47 +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();