Uncaught SyntaxError: Unexpected end of input

1,405 views
Skip to first unread message

GeorgeBush

unread,
Aug 9, 2010, 6:35:32 PM8/9/10
to Chromium-extensions
Hi,

I am getting an error: Uncaught SyntaxError: Unexpected end of input
on background.html in my extension. There is no line number. What does
this mean? How do I go about debugging it?

Thanks!

PhistucK

unread,
Aug 10, 2010, 2:04:16 AM8/10/10
to GeorgeBush, Chromium-extensions
It means you forgot to add a closing } and yes, it is hard to find.
It may be easier to find, though, if you copy your code into jsbeautifier.org, click on "Beautify" (select the options you want on the right side of the screen first) and see if all of the indentations are correct.

☆PhistucK



--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.


Reply all
Reply to author
Forward
0 new messages