view nodejs/examples/testsvg/svgviewer.js @ 1417:7c89a4f648bd

Fix issue of removing components. Ref: ticket #35 on Assembla - It caused by misunderstanding (pygtk change it?) of APIs of PyGTK. - Fix it by calling iter_next() of data model.
author Thinker K.F. Li <thinker@codemud.net>
date Thu, 07 Apr 2011 11:44:49 +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();