Closed e7h4n closed 12 years ago
while(this.buffer.indexOf('\n') === -1) { this.getBufferAndSetCurrentPosition(this.currentPosition); if(this.currentPosition === -1) return false; if(this.buffer.length === 0) return false; // add this line }
Beautiful! Thanks for catching, will push out a point release shortly. ;)