http/js/update_shared.js
function readyCb(cb){	
		//if(opened) return
		//opened = true
		
		if(exports.slowGet){//special debug hook - specifies millisecond delay for testing
			setTimeout(function(){
				cb(undefined, api.getView(viewId, historicalKey))
			},exports.slowGet)
		}else{
			var viewObj = api.getView(viewId, historicalKey)
			if(!viewObj) _.errout('could not find view object: ' + viewId)
			cb(undefined, viewObj)
		}
	}
function readyCb(cb){	
		//if(opened) return
		//opened = true
		
		if(exports.slowGet){//special debug hook - specifies millisecond delay for testing
			setTimeout(function(){
				cb(undefined, api.getView(viewId, historicalKey))
			},exports.slowGet)
		}else{
			var viewObj = api.getView(viewId, historicalKey)
			if(!viewObj) _.errout('could not find view object: ' + viewId)
			cb(undefined, viewObj)
		}
	}
function readyCb ( cb ) { //if(opened) return //opened = true if ( exports . slowGet ) { //special debug hook - specifies millisecond delay for testing setTimeout ( function ( ) { cb ( undefined , api . getView ( viewId , historicalKey ) ) } , exports . slowGet ) } else { var viewObj = api . getView ( viewId , historicalKey ) if ( ! viewObj ) _ . errout ( 'could not find view object: ' + viewId ) cb ( undefined , viewObj ) } }
var opened = false
var opened = false