Y
Hacker News
new
|
ask
|
show
|
jobs
by
andreyf
6238 days ago
That doesn't look like JS syntax... am I missing something, or are they using JS to parse/interpret it?
1 comments
jayro
6238 days ago
It's JavaScript object literal syntax.
link
misuba
6238 days ago
No - the application/javascript-socks scripts are putting Ruby-style code blocks in places JavaScript doesn't generally allow them. Presumably that's the reason for the alternate MIME type on the script.
link