Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Allow user to return :ajax result if necessary #68

Closed
kamilski81 opened this Issue · 2 comments

2 participants

@kamilski81

Allow the user to pass an html_options flag, in order to get a result without the "script" and "div" already created.

For example:
chart = LazyHighCharts::HighChart.new('bar', :ajax_enabled => true)

will return:

(function() {        var options, chart;
         options = { "title": { "text": "" } };

         chart = new Highcharts.Chart(options);
})()
@kamilski81 kamilski81 referenced this issue from a commit in kamilski81/lazy_high_charts
@kamilski81 kamilski81 Allow user to return :ajax result if necessary, references #68 9d4f863
@kamilski81 kamilski81 referenced this issue in xiaods/lazy_high_charts
Closed

Allow for :ajax_enabled results #4

@kamilski81

I commented out the bottom of lazy_high_charts_spec.rb because the test was failling from the beginning before my changes.

@xiaods
Collaborator

we don't need ajax flag to enable it.

@xiaods xiaods closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.