Skip to content
Permalink
Browse files
fix: refactor
correct spelling
  • Loading branch information
jamesgeorge007 committed Aug 9, 2019
1 parent 936a0dc commit af8906df11821f9857a24a13c8e4666910ae51af
Showing with 8 additions and 8 deletions.
  1. +8 −8 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<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();
}

/**
@@ -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() {

0 comments on commit af8906d

Please sign in to comment.