Displaying 1 result from an estimated 1 matches for "adddetailtocontain".
Did you mean:
adddetailtocontainer
2010 Apr 05
3
syntax error, unexpected '\n', expecting tASSOC
...curly brace, but
it seems that all curly braces are properly in place. So I''m not sure
why I get this error:
SyntaxError in DashboardController#panels
rails/app/controllers/dashboard_controller.rb:170: syntax error,
unexpected ''\n'', expecting tASSOC
def panels
addDetailToContainer = "function() {
var detailContainer = jQuery(''#container'').prepend(
''<div id=\"details-chart\"></div>''
),
detailStart = Date.UTC(2008, 7, 1),
detailData = [];
jQu...