Skip to content

Commit

Permalink
Use let instead of before
Browse files Browse the repository at this point in the history
  • Loading branch information
Prakriti-nith committed Jun 15, 2018
1 parent 2b15433 commit 1b5990f
Show file tree
Hide file tree
Showing 3 changed files with 166 additions and 162 deletions.
3 changes: 2 additions & 1 deletion lib/daru/view/adapters/highcharts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def init(data=[], options={})
f.options = options.empty? ? LazyHighCharts::HighChart.new.defaults_options : options
# For multiple series when data is in a series format as in
# HighCharts official examples
# TODO: Add support for multiple series when data as Daru::DataFrame/Daru::Vector
# TODO: Add support for multiple series when data as
# Daru::DataFrame/Daru::Vector
if data.is_a?(Array) && data[0].is_a?(Hash)
f.series_data = data
else
Expand Down
Loading

0 comments on commit 1b5990f

Please sign in to comment.