> JSCocoa spits this out to the Console:
>
> JSException: SyntaxError: Parse error on line 1
>
> Why is this syntax failing? I can't seem to get ANY of the non-
> standard syntaxes up and running in my experiments (Objective-J syntax
> fails with syntax errors, too). I'm using the latest version of the
> JSCocoa.framework and evaluating the Javascript like so:
Have you added class.js, jslint-jscocoa.js into the 'Copy Bundle Resources' of your project ? By default XCode sets them to be compiled.
-Patrick