@@ -78,7 +78,7 @@ StatWatcher.prototype[kFSStatWatcherStart] = function(filename,
7878 this . _handle . unref ( ) ;
7979
8080 // uv_fs_poll is a little more powerful than ev_stat but we curb it for
81- // the sake of backwards compatibility
81+ // the sake of backwards compatibility.
8282 this [ kOldStatus ] = - 1 ;
8383
8484 filename = getValidatedPath ( filename , 'filename' ) ;
@@ -95,9 +95,9 @@ StatWatcher.prototype[kFSStatWatcherStart] = function(filename,
9595 }
9696} ;
9797
98- // To maximize backward-compatiblity for the end user,
98+ // To maximize backward-compatibility for the end user,
9999// a no-op stub method has been added instead of
100- // totally removing StatWatcher.prototpye .start.
100+ // totally removing StatWatcher.prototype .start.
101101// This should not be documented.
102102StatWatcher . prototype . start = ( ) => { } ;
103103
@@ -133,7 +133,7 @@ function FSWatcher() {
133133 if ( this . _handle !== null ) {
134134 // We don't use this.close() here to avoid firing the close event.
135135 this . _handle . close ( ) ;
136- this . _handle = null ; // Make the handle garbage collectable
136+ this . _handle = null ; // Make the handle garbage collectable.
137137 }
138138 const error = errors . uvException ( {
139139 errno : status ,
@@ -187,9 +187,9 @@ FSWatcher.prototype[kFSWatchStart] = function(filename,
187187 }
188188} ;
189189
190- // To maximize backward-compatiblity for the end user,
190+ // To maximize backward-compatibility for the end user,
191191// a no-op stub method has been added instead of
192- // totally removing FSWatcher.prototpye .start.
192+ // totally removing FSWatcher.prototype .start.
193193// This should not be documented.
194194FSWatcher . prototype . start = ( ) => { } ;
195195
@@ -204,7 +204,7 @@ FSWatcher.prototype.close = function() {
204204 return ;
205205 }
206206 this . _handle . close ( ) ;
207- this . _handle = null ; // Make the handle garbage collectable
207+ this . _handle = null ; // Make the handle garbage collectable.
208208 process . nextTick ( emitCloseNT , this ) ;
209209} ;
210210
0 commit comments