Skip to content

Commit

Permalink
fix: refactor
Browse files Browse the repository at this point in the history
correct spelling
  • Loading branch information
jamesgeorge007 committed Aug 9, 2019
1 parent 936a0dc commit af8906d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/ChunkGroup.js
Expand Up @@ -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<Module, number>} */
this._moduleIndicies = new Map();
/** Indicies in bottom-up order */
this._moduleIndices = new Map();
/** Indices in bottom-up order */
/** @private @type {Map<Module, number>} */
this._moduleIndicies2 = new Map();
this._moduleIndices2 = new Map();
}

/**
Expand Down Expand Up @@ -460,7 +460,7 @@ class ChunkGroup {
* @returns {void}
*/
setModuleIndex(module, index) {
this._moduleIndicies.set(module, index);
this._moduleIndices.set(module, index);
}

/**
Expand All @@ -469,7 +469,7 @@ class ChunkGroup {
* @returns {number} index
*/
getModuleIndex(module) {
return this._moduleIndicies.get(module);
return this._moduleIndices.get(module);
}

/**
Expand All @@ -479,7 +479,7 @@ class ChunkGroup {
* @returns {void}
*/
setModuleIndex2(module, index) {
this._moduleIndicies2.set(module, index);
this._moduleIndices2.set(module, index);
}

/**
Expand All @@ -488,7 +488,7 @@ class ChunkGroup {
* @returns {number} index
*/
getModuleIndex2(module) {
return this._moduleIndicies2.get(module);
return this._moduleIndices2.get(module);
}

checkConstraints() {
Expand Down

0 comments on commit af8906d

Please sign in to comment.