From af8906df11821f9857a24a13c8e4666910ae51af Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Fri, 9 Aug 2019 23:36:23 +0530 Subject: [PATCH] fix: refactor correct spelling --- lib/ChunkGroup.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/ChunkGroup.js b/lib/ChunkGroup.js index 4a599669654..6f0ad97ac0c 100644 --- a/lib/ChunkGroup.js +++ b/lib/ChunkGroup.js @@ -70,12 +70,12 @@ class ChunkGroup { this.chunks = []; /** @type {OriginRecord[]} */ this.origins = []; - /** Indicies in top-down order */ + /** Indices in top-down order */ /** @private @type {Map} */ - this._moduleIndicies = new Map(); - /** Indicies in bottom-up order */ + this._moduleIndices = new Map(); + /** Indices in bottom-up order */ /** @private @type {Map} */ - this._moduleIndicies2 = new Map(); + this._moduleIndices2 = new Map(); } /** @@ -460,7 +460,7 @@ class ChunkGroup { * @returns {void} */ setModuleIndex(module, index) { - this._moduleIndicies.set(module, index); + this._moduleIndices.set(module, index); } /** @@ -469,7 +469,7 @@ class ChunkGroup { * @returns {number} index */ getModuleIndex(module) { - return this._moduleIndicies.get(module); + return this._moduleIndices.get(module); } /** @@ -479,7 +479,7 @@ class ChunkGroup { * @returns {void} */ setModuleIndex2(module, index) { - this._moduleIndicies2.set(module, index); + this._moduleIndices2.set(module, index); } /** @@ -488,7 +488,7 @@ class ChunkGroup { * @returns {number} index */ getModuleIndex2(module) { - return this._moduleIndicies2.get(module); + return this._moduleIndices2.get(module); } checkConstraints() {