fix: typo within pushChunk
This commit is contained in:
parent
133862b5e3
commit
71055c8699
|
@ -174,7 +174,7 @@ class ChunkGroup {
|
||||||
/**
|
/**
|
||||||
* add a chunk into ChunkGroup. Is pushed on or prepended
|
* add a chunk into ChunkGroup. Is pushed on or prepended
|
||||||
* @param {Chunk} chunk chunk being pushed into ChunkGroupS
|
* @param {Chunk} chunk chunk being pushed into ChunkGroupS
|
||||||
* @returns {boolean} returns true if chunk addition was ssuccesful.
|
* @returns {boolean} returns true if chunk addition was successful.
|
||||||
*/
|
*/
|
||||||
pushChunk(chunk) {
|
pushChunk(chunk) {
|
||||||
const oldIdx = this.chunks.indexOf(chunk);
|
const oldIdx = this.chunks.indexOf(chunk);
|
||||||
|
|
Loading…
Reference in New Issue