view nodejs/examples/mce/mbmce.js @ 1410:afa062941f39

Use closure to replace the function to simplify the code.
author wycc
date Wed, 06 Apr 2011 07:52:55 +0800
parents 30cd14b11bc7
children e18c51c1c48f
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");
var sys=require("sys");
var animate=require("animate");
var fs = require("fs");
var main=require("./mainmenu");
app = new mbapp.app(":0.0",1920,1080);
scene=new main.MainMenu(app);
app.loop();