annotate nodejs/svgviewer.js @ 929:d35f9702b8c2

Fix the bug when the last scale is issued before the last one is ended.
author wycc
date Thu, 04 Nov 2010 07:21:17 +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();