Skip to content

Commit 53c8916

Browse files
committed
renamed too generic var name.
1 parent cb38853 commit 53c8916

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

jquery.highchartTable.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
skippedColumns = skippedColumns + 1;
104104
}
105105

106-
var object = {
106+
var thGraphConfig = {
107107
libelle: $(th).text(),
108108
skip: isColumnSkipped,
109109
indexTd: indexTh - skippedColumns - 1,
@@ -114,16 +114,16 @@
114114
};
115115

116116
if (typeof $(th).data('graph-vline-x') == 'undefined') {
117-
object.scale = typeof columnScale != 'undefined' ? parseFloat(columnScale) : 1;
118-
object.graphType = serieGraphType;
119-
object.stack = serieStackGroup;
120-
object.unit = $(th).data('graph-unit');
121-
columns[indexTh] = object;
117+
thGraphConfig.scale = typeof columnScale != 'undefined' ? parseFloat(columnScale) : 1;
118+
thGraphConfig.graphType = serieGraphType;
119+
thGraphConfig.stack = serieStackGroup;
120+
thGraphConfig.unit = $(th).data('graph-unit');
121+
columns[indexTh] = thGraphConfig;
122122
} else {
123-
object.x = $(th).data('graph-vline-x');
124-
object.height = $(th).data('graph-vline-height');
125-
object.name = $(th).data('graph-vline-name');
126-
vlines[indexTh] = object;
123+
thGraphConfig.x = $(th).data('graph-vline-x');
124+
thGraphConfig.height = $(th).data('graph-vline-height');
125+
thGraphConfig.name = $(th).data('graph-vline-name');
126+
vlines[indexTh] = thGraphConfig;
127127
}
128128
});
129129

0 commit comments

Comments
 (0)