winston/google_visualr — pull request #69 by k1w1 (2014-03-27 21:49:43+00:00)
Title: Support generating chart Javascript without <script> tag

This allows JS to be used inside a callback function, e.g. if the Google jsapi code is being loaded dynamically rather than in

you need code like:

$.getScript('https://www.google.com/jsapi', function (data, textStatus) {
<%= render_chart(@status_chart, 'status-chart', :script_tag => false) %>
});