Matthew-Weber / ReutersCharter

0 stars 0 forks source link

Superfluous console.logs #3

Closed basilesimon closed 5 years ago

basilesimon commented 5 years ago

Two rather annoying console.log() get through the build version. This is using BespokeChart and BespokeBase, by the way.

{
    key: "yScaleDomain",
    value: function yScaleDomain() {
        var _this7 = this;

        //determine the domain.
        console.log(this.chartData);
        var domain = [this.yScaleMin(), this.yScaleMax()];
        if (this.yScaleType == "Point" || this.yScaleType == "Band") {
            domain = this.chartData.map(function (d) {
                return d[_this7.yValue];
            });
        }
        console.log(domain);
        return domain;
}
basilesimon commented 5 years ago

Fixed in an earlier commit.