nl_tokens: get the latest capture info from the server
pl_tokens: function ( ) { var self = this ; console . log ( 'updating...' ) ; var req = get_req ( ) ; req . onreadystatechange = function update_state_response ( ) { if ( req . readyState === 4 ) { if ( req . status === 200 ) { var capture = JSON . <mask> ( req . responseText ) ; if ( capture . error ) { alert ( capture . error . message ) ; } htracr . ui . update ( capture ) ; console . log ( 'updated.' ) ; } else { console . log ( 'no updates.' ) ; } } } ; req . open ( "GET" , "/conns" , true ) ; req . send ( "" ) ; return false ; }