RailsCasts Pro episodes are now free!

Learn more or hide this

liucc's Profile

GitHub User: liucc

Comments by

Avatar

I get ERROR! THERE somebody can help me?
ExecJS::RuntimeError in Host_informations#index

Showing /Users/liucc/omm/app/views/layouts/application.html.erb where line #37 raised:

SyntaxError: unexpected TERMINATOR
(in /Users/liucc/omm/app/assets/javascripts/host_informations.js.coffee)

host_informations.js.coffee:
jQuery ->
Morris.Line
element: 'annual'
data: [
{y: '2012', a: 100}
{y: '2011', a: 75}
{y: '2010', a: 50}
{y: '2009', a: 75}
{y: '2008', a: 50}
{y: '2007', a: 75}
{y: '2006', a: 100}
]
xkey: 'y'
ykeys: ['a']
labels: ['Series a']