Javascript Parse Errors in Safari

60 views
Skip to first unread message

Mats Widegren

unread,
May 22, 2012, 5:55:57 PM5/22/12
to jangaro...@googlegroups.com
Hi, 

When running my jangaroo application on an iPad with an older version of Safari (Browser : Version 5.0.2 Mobile 8J2 Safari 6533.18.5) i keep getting JavaScript errors of type "SyntaxError: ParseError".

Has anyone else encountered this problem?

Thanks,

Mats

Frank

unread,
May 23, 2012, 5:53:04 AM5/23/12
to Jangaroo Users
Hi Mats,

which exact version of Jangaroo do you use?
You can find a pair of versions (runtime version
is usually "0.8.0", the other one makes the
difference!) at the end of every generated JS
file.
In a recent release, we fixed some syntax
issues which were ignored by most browsers,
but Google Closure complained about them.

But maybe it is another problem, I remember
that some very old Safari/KHTML versions
needed additional brackets around
anonymous functions...

Can you activate the developer console
and find out more about the location of
the error?

Greetings
-Frank-

Mats Widegren

unread,
May 29, 2012, 4:30:38 AM5/29/12
to jangaro...@googlegroups.com
Hi Frank,
 
Thanks for your reply!
 
Re Jangaroo version, here's what it says in my POM.xml:
 
 <properties>
    <jangaroo_version>0.8.3</jangaroo_version>
    <jangaroo_libs_version>0.8.5</jangaroo_libs_version>
  </properties>
 
The error occurs at two places in the code. In both cases, the error happens at a lines that contains the second argument of joo.classLoader.prepare() calls.
 
Let me know if you need any additional information.
 
Thanks again,
 
Mats

Frank

unread,
Jul 27, 2012, 12:49:34 PM7/27/12
to Jangaroo Users
Oops, just noticed that this thread ended without response here, maybe
I gave it by mail?
My advice is to update the Jangaroo version to 0.9.16 and see if it
works then.
Reply all
Reply to author
Forward
0 new messages