Skip to content

Commit 0b8cdb6

Browse files
committed
Merge pull request #90 from rabdill/master
Minor typos in code comments
2 parents a3b7c4e + 0c45ecd commit 0b8cdb6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/readstream.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ GridReadStream.prototype._open = function _open () {
104104

105105
var self = this;
106106

107-
// Open the sore
107+
// Open the store
108108
this._store.open(function (err, gs) {
109109
if (err) return self._error(err);
110110

@@ -177,7 +177,7 @@ GridReadStream.prototype._push = function _push () {
177177
// Override the chunk size if the chunk size is more than the size that is left until EOF/range
178178
if (self.range.endPos-self._currentPos < self._chunkSize) {readChunkSize = self.range.endPos - self._currentPos + 1};
179179

180-
// Read the chunk from GridSore. Head moves automatically after each read.
180+
// Read the chunk from GridStore. Head moves automatically after each read.
181181
self._store.read(readChunkSize,function(err, data) {
182182

183183
// If error stop and close the store
@@ -224,13 +224,13 @@ GridReadStream.prototype._close = function _close () {
224224
*/
225225

226226
GridReadStream.prototype._error = function _error (err) {
227-
// Set end true so that no further reads from GridSotre are possible and close the store
227+
// Set end true so that no further reads from GridStore are possible and close the store
228228
this._end = true;
229229

230230
// Emit the error event
231231
this.emit('error', err);
232232

233-
// Close the gridsore if an error is received.
233+
// Close the gridstore if an error is received.
234234
this._close()
235235
}
236236

0 commit comments

Comments
 (0)