This commit is contained in:
Ken Johnson
2013-05-31 15:22:13 -04:00
parent 4813ba9349
commit 3cab9810fc
+1
View File
@@ -60,6 +60,7 @@ function drawChart2() {
var data = google.visualization.arrayToDataTable([
['Year', 'Score'],
<% @perf.each do |p| %>
// Let's just hope this data isn't suspectible during later releases ;-)
[ <%= "#{p.date_submitted}".inspect.html_safe %>, <%= p.score %> ],
<% end %>
]);