view 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
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();