Skip to content

Conversation

@ilyjs
Copy link
Collaborator

@ilyjs ilyjs commented Jan 5, 2018

…of the source file

this.displayName = 'Highcharts' + chartType;
}

setChartRef = (chartRef) => {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this work?
Change to setChartRef(chartRef) ?

if (!config) {
throw new Error('Config must be specified for the ' + this.displayName + ' component');
}
let chartConfig = config.chart;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const?

}
}

if (cutCode) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename to isProdMode or something similar?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

renderTo: this.chartRef
function chartsFactory(chartType, Highcharts) {

class Charts extends Component {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just chart?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes)

@kirjs kirjs merged commit d983e1e into kirjs:master Jan 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants