@@ -256,7 +256,7 @@ Client.prototype.req = function(req, cb) {
256256
257257
258258Client . prototype . reqVersion = function ( cb ) {
259- cb = cb || function ( ) { } ;
259+ cb = cb || function ( ) { } ;
260260 this . req ( { command : 'version' } , function ( err , body , res ) {
261261 if ( err ) return cb ( err ) ;
262262 cb ( null , res . body . body . V8Version , res . body . running ) ;
@@ -276,7 +276,7 @@ Client.prototype.reqLookup = function(refs, cb) {
276276 }
277277 } ;
278278
279- cb = cb || function ( ) { } ;
279+ cb = cb || function ( ) { } ;
280280 this . req ( req , function ( err , res ) {
281281 if ( err ) return cb ( err ) ;
282282 for ( var ref in res ) {
@@ -285,7 +285,7 @@ Client.prototype.reqLookup = function(refs, cb) {
285285 }
286286 }
287287
288- cb ( null , res ) ;
288+ cb ( null , res ) ;
289289 } ) ;
290290} ;
291291
@@ -296,7 +296,7 @@ Client.prototype.reqScopes = function(cb) {
296296 arguments : { }
297297 } ;
298298
299- cb = cb || function ( ) { } ;
299+ cb = cb || function ( ) { } ;
300300 this . req ( req , function ( err , res ) {
301301 if ( err ) return cb ( err ) ;
302302 var refs = res . scopes . map ( function ( scope ) {
@@ -328,7 +328,7 @@ Client.prototype.reqEval = function(expression, cb) {
328328 return ;
329329 }
330330
331- cb = cb || function ( ) { } ;
331+ cb = cb || function ( ) { } ;
332332 // Otherwise we need to get the current frame to see which scopes it has.
333333 this . reqBacktrace ( function ( err , bt ) {
334334 if ( err || ! bt . frames ) {
@@ -361,7 +361,7 @@ Client.prototype._reqFramesEval = function(expression, evalFrames, cb) {
361361 var self = this ;
362362 var i = evalFrames . shift ( ) ;
363363
364- cb = cb || function ( ) { } ;
364+ cb = cb || function ( ) { } ;
365365 this . reqFrameEval ( expression , i , function ( err , res ) {
366366 if ( ! err ) return cb ( null , res ) ;
367367 self . _reqFramesEval ( expression , evalFrames , cb ) ;
@@ -382,7 +382,7 @@ Client.prototype.reqFrameEval = function(expression, frame, cb) {
382382 req . arguments . frame = frame ;
383383 }
384384
385- cb = cb || function ( ) { } ;
385+ cb = cb || function ( ) { } ;
386386 this . req ( req , function ( err , res ) {
387387 if ( ! err ) self . _addHandle ( res ) ;
388388 cb ( err , res ) ;
@@ -415,7 +415,7 @@ Client.prototype.reqBacktrace = function(cb) {
415415//
416416Client . prototype . reqScripts = function ( cb ) {
417417 var self = this ;
418- cb = cb || function ( ) { } ;
418+ cb = cb || function ( ) { } ;
419419
420420 this . req ( { command : 'scripts' } , function ( err , res ) {
421421 if ( err ) return cb ( err ) ;
@@ -502,7 +502,7 @@ Client.prototype.mirrorObject = function(handle, depth, cb) {
502502 return p . ref ;
503503 } ) ;
504504
505- cb = cb || function ( ) { } ;
505+ cb = cb || function ( ) { } ;
506506 this . reqLookup ( propertyRefs , function ( err , res ) {
507507 if ( err ) {
508508 console . error ( 'problem with reqLookup' ) ;
@@ -581,7 +581,7 @@ Client.prototype.mirrorObject = function(handle, depth, cb) {
581581Client . prototype . fullTrace = function ( cb ) {
582582 var self = this ;
583583
584- cb = cb || function ( ) { } ;
584+ cb = cb || function ( ) { } ;
585585 this . reqBacktrace ( function ( err , trace ) {
586586 if ( err ) return cb ( err ) ;
587587 if ( trace . totalFrames <= 0 ) return cb ( Error ( 'No frames' ) ) ;
@@ -641,7 +641,7 @@ var commands = [
641641 'out (o)' ,
642642 'backtrace (bt)' ,
643643 'setBreakpoint (sb)' ,
644- 'clearBreakpoint (cb)' ,
644+ 'clearBreakpoint (cb)'
645645 ] ,
646646 [
647647 'watch' ,
@@ -799,7 +799,7 @@ function Interface(stdin, stdout, args) {
799799 self . resume ( ) ;
800800 } ) ;
801801 } , 10 ) ;
802- } ;
802+ }
803803
804804
805805// Stream control
@@ -882,7 +882,7 @@ Interface.prototype.handleBreak = function(r) {
882882 this . print ( SourceInfo ( r ) ) ;
883883
884884 // Show watchers' values
885- this . watchers ( true , function ( err ) {
885+ this . watchers ( true , function ( err ) {
886886 if ( err ) return self . error ( err ) ;
887887
888888 // And list source
@@ -1167,9 +1167,9 @@ Interface.prototype.scripts = function() {
11671167 script . name == client . currentScript ||
11681168 ! script . isNative ) {
11691169 scripts . push (
1170- ( script . name == client . currentScript ? '* ' : ' ' ) +
1171- id + ': ' +
1172- path . basename ( script . name )
1170+ ( script . name == client . currentScript ? '* ' : ' ' ) +
1171+ id + ': ' +
1172+ path . basename ( script . name )
11731173 ) ;
11741174 }
11751175 }
@@ -1572,7 +1572,7 @@ Interface.prototype.trySpawn = function(cb) {
15721572 } ) ;
15731573
15741574 client . on ( 'close' , function ( ) {
1575- self . pause ( )
1575+ self . pause ( ) ;
15761576 self . print ( 'program terminated' ) ;
15771577 self . resume ( ) ;
15781578 self . client = null ;
0 commit comments