server/server.js
function openUid(dataDir, cb){
	var fn = dataDir + '/minnow_data/server.uid'
	exists(fn, function(exists){
		if(exists){
			fs.readFile(fn, 'utf8', function(err, uid){
				if(err) throw err;
				cb(uid)
			})
		}else{
			var uid = seedrandom.uid()
			fs.writeFileSync(fn, uid, 'utf8');
			cb(uid)
		}
	})
}
function openUid(dataDir, cb){
	var fn = dataDir + '/minnow_data/server.uid'
	exists(fn, function(exists){
		if(exists){
			fs.readFile(fn, 'utf8', function(err, uid){
				if(err) throw err;
				cb(uid)
			})
		}else{
			var uid = seedrandom.uid()
			fs.writeFileSync(fn, uid, 'utf8');
			cb(uid)
		}
	})
}
function openUid ( dataDir , cb ) { var fn = dataDir + '/minnow_data/server.uid' exists ( fn , function ( exists ) { if ( exists ) { fs . readFile ( fn , 'utf8' , function ( err , uid ) { if ( err ) throw err ; cb ( uid ) } ) } else { var uid = seedrandom . uid ( ) fs . writeFileSync ( fn , uid , 'utf8' ) ; cb ( uid ) } } ) }
/*
var old = Array.prototype.indexOf
var ccc = 0
Array.prototype.indexOf = function(v){
++ccc
if(ccc < 2000) return old.call(this, v)

_.errout('TODO')
}
/ * var old = Array . prototype . indexOf var ccc = 0 Array . prototype . indexOf = function ( v ) { ++ ccc if ( ccc < 2000 ) return old . call ( this v )