News for hackers. Stuff that matters.
Re:Socks - A javascript UI toolkit inspired by Shoes by andreyf on Sunday May 17, 2009 @09:08PM (#614157)
That doesn't look like JS syntax... am I missing something, or are they using JS to parse/interpret it?
Re:Socks - A javascript UI toolkit inspired by Shoes by jayro on Sunday May 17, 2009 @09:17PM (#614168)
It's JavaScript object literal syntax.
Re:Socks - A javascript UI toolkit inspired by Shoes by misuba on Monday May 18, 2009 @02:51PM (#615456)
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.