Mercurial > MadButterfly
view nodejs/run.sh @ 967:5c013e3cadd0
Provide the facility to stop drawing for massive content update.
To stop drawing screen when doing massive cotent update makes
application more efficient. frameline.stop_drawing() method is called
to stop drawing screen before massive updating. After updating,
start_drawing() and update() should be called to show latest content.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Thu, 18 Nov 2010 11:37:21 +0800 |
parents | 652199a55802 |
children | 613a7caa9bd6 |
line wrap: on
line source
#!/bin/sh ABS=`realpath $0` BASE=`dirname $ABS` NODE_PATH=$BASE:$BASE/objs/default:$NODE_PATH export NODE_PATH DIR=`dirname $1` FNAME=`basename $1` cd $DIR; node $FNAME