File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ Channel.prototype.startIndexing = function() {
351351 this . bucket . isIndexing = true ;
352352 this . bucket . emit ( 'indexing' ) ;
353353 this . sendIndexRequest ( ) ;
354- }
354+ } ;
355355
356356Channel . prototype . onConnect = function ( ) {
357357 var init = {
@@ -391,8 +391,7 @@ Channel.prototype.onIndex = function( data ) {
391391 } else {
392392 this . sendIndexRequest ( mark ) ;
393393 }
394- }
395- ;
394+ } ;
396395
397396Channel . prototype . sendIndexRequest = function ( mark ) {
398397 this . send ( format ( 'i:1:%s::10' , mark ? mark : '' ) ) ;
@@ -416,9 +415,9 @@ Channel.prototype.onChanges = function( data ) {
416415Channel . prototype . onChangeVersion = function ( data ) {
417416 if ( data === UNKNOWN_CV ) {
418417 this . store . setChangeVersion ( null )
419- . then ( ( ) => this . startIndexing ( ) )
418+ . then ( ( ) => this . startIndexing ( ) ) ;
420419 }
421- }
420+ } ;
422421
423422Channel . prototype . onVersion = function ( data ) {
424423 var ghost = parseVersionMessage ( data ) ;
@@ -500,7 +499,7 @@ LocalQueue.prototype.start = function() {
500499
501500LocalQueue . prototype . pause = function ( ) {
502501 this . ready = false ;
503- }
502+ } ;
504503
505504LocalQueue . prototype . acknowledge = function ( change ) {
506505 if ( this . sent [ change . id ] === change ) {
Original file line number Diff line number Diff line change @@ -387,13 +387,13 @@ describe( 'Channel', function() {
387387
388388 it ( 'should request index when cv is unknown' , done => {
389389 channel . once ( 'send' , ( data ) => {
390- ok ( ! store . cv )
391- ok ( bucket . isIndexing )
390+ ok ( ! store . cv ) ;
391+ ok ( bucket . isIndexing ) ;
392392 equal ( data , 'i:1:::10' ) ;
393- done ( )
394- } )
393+ done ( ) ;
394+ } ) ;
395395 channel . handleMessage ( 'cv:?' ) ;
396- } )
396+ } ) ;
397397
398398 // TODO: handle auth failures
399399 // <= 0:auth:expired
You can’t perform that action at this time.
0 commit comments