fix: tweaks within replaceChunk

This commit is contained in:
jamesgeorge007 2019-08-09 23:23:49 +05:30
parent 71055c8699
commit e0089223a0
1 changed files with 2 additions and 2 deletions

View File

@ -187,8 +187,8 @@ class ChunkGroup {
/**
* @param {Chunk} oldChunk chunk to be replaced
* @param {Chunk} newChunk New chunkt that will be replaced
* @returns {boolean} rerturns true for
* @param {Chunk} newChunk New chunk that will be replaced with
* @returns {boolean} returns true if the replacement was successful
*/
replaceChunk(oldChunk, newChunk) {
const oldIdx = this.chunks.indexOf(oldChunk);