changeset 763:69ee361bf259

Merge
author wycc
date Sat, 28 Aug 2010 23:19:36 +0800
parents 6133319d3fb4 (diff) 5781b2485e38 (current diff)
children 194e24d8ecab
files
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nodejs/mbapp.js	Sat Aug 28 22:54:07 2010 +0800
+++ b/nodejs/mbapp.js	Sat Aug 28 23:19:36 2010 +0800
@@ -28,6 +28,10 @@
     this.mb_rt.redraw_all();
     this.mb_rt.flush();
 }
+app.prototype.update=function() {
+    this.mb_rt.redraw_all();
+    this.mb_rt.flush();
+}
 app.prototype.get=function(name) {
     return this.mb_rt.mbnames[name];
 }
--- a/nodejs/testcanvas.js	Sat Aug 28 22:54:07 2010 +0800
+++ b/nodejs/testcanvas.js	Sat Aug 28 23:19:36 2010 +0800
@@ -1,3 +1,4 @@
+// vim: ts=4
 var mbapp = require("./mbapp");
 var sys=require("sys");
 var canvas=require("./canvas");