@@ -101,7 +101,7 @@ Protocol.prototype.execute = function(d) {
101101 if ( len - this . bodyStartByteIndex < this . contentLength ) {
102102 break ;
103103 }
104- // pass thru
104+ // falls through
105105 case 'body' :
106106 var resRawByteLength = Buffer . byteLength ( res . raw , 'utf8' ) ;
107107
@@ -125,7 +125,6 @@ Protocol.prototype.execute = function(d) {
125125
126126 default :
127127 throw new Error ( 'Unknown state' ) ;
128- break ;
129128 }
130129} ;
131130
@@ -262,7 +261,7 @@ Client.prototype.req = function(req, cb) {
262261
263262Client . prototype . reqVersion = function ( cb ) {
264263 cb = cb || function ( ) { } ;
265- this . req ( { command : 'version' } , function ( err , body , res ) {
264+ this . req ( { command : 'version' } , function ( err , body , res ) {
266265 if ( err ) return cb ( err ) ;
267266 cb ( null , res . body . body . V8Version , res . body . running ) ;
268267 } ) ;
@@ -398,7 +397,7 @@ Client.prototype.reqFrameEval = function(expression, frame, cb) {
398397// reqBacktrace(cb)
399398// TODO: from, to, bottom
400399Client . prototype . reqBacktrace = function ( cb ) {
401- this . req ( { command : 'backtrace' , arguments : { inlineRefs : true } } , cb ) ;
400+ this . req ( { command : 'backtrace' , arguments : { inlineRefs : true } } , cb ) ;
402401} ;
403402
404403
@@ -432,7 +431,7 @@ Client.prototype.reqScripts = function(cb) {
432431 var self = this ;
433432 cb = cb || function ( ) { } ;
434433
435- this . req ( { command : 'scripts' } , function ( err , res ) {
434+ this . req ( { command : 'scripts' } , function ( err , res ) {
436435 if ( err ) return cb ( err ) ;
437436
438437 for ( var i = 0 ; i < res . length ; i ++ ) {
0 commit comments