fix: tweaks within replaceChunk
This commit is contained in:
parent
71055c8699
commit
e0089223a0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue