nl_tokens: //////////////////////////////////////////////////////////////////////////////
pl_tokens: function ( url , success , failure ) { // Attempt to get the URL var req = mHTTP . get ( url ) ; // Whenever a response is received req . on ( "response" , function ( res ) { // Check if response is OK if ( res . statusCode === 200 ) success ( res ) ; // Some unexpected response else failure ( "bad response" + " (" + res . statusCode + ") " + res . statusMessage ) ; } ) ; // Whenever an error is thrown req . on ( "error" , function ( err ) { failure ( err . <mask> ) ; } ) ; }