File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -154,11 +154,11 @@ function transformOne(trace, state) {
154
154
}
155
155
156
156
// An index to map group name --> expanded trace index
157
- var groupIndex = { } ;
157
+ var indexLookup = { } ;
158
158
159
159
for ( i = 0 ; i < groupNames . length ; i ++ ) {
160
160
groupName = groupNames [ i ] ;
161
- groupIndex [ groupName ] = i ;
161
+ indexLookup [ groupName ] = i ;
162
162
163
163
// Start with a deep extend that just copies array references.
164
164
newTrace = newData [ i ] = Lib . extendDeepNoArrays ( { } , trace ) ;
@@ -199,7 +199,7 @@ function transformOne(trace, state) {
199
199
// Send each data point to the appropriate expanded trace:
200
200
for ( j = 0 ; j < len ; j ++ ) {
201
201
// Map group data --> trace index --> array and push data onto it
202
- arrayLookup [ groupIndex [ groups [ j ] ] ] . push ( srcArray [ j ] ) ;
202
+ arrayLookup [ indexLookup [ groups [ j ] ] ] . push ( srcArray [ j ] ) ;
203
203
}
204
204
}
205
205
You can’t perform that action at this time.
0 commit comments