Internal Javascript Error

57 views
Skip to first unread message

Brad Baker

unread,
Jan 29, 2020, 8:46:00 PM1/29/20
to TiddlyWiki
Hi.  I have a wiki which displays w/Linux browsers but when I view it with my Android phone (I tried two different browsers)
I get this red popup box that says "Internal Javascript Error" "Uncaught SyntaxError: Unexpected end of input".
I assume this is perhaps a missing close bracket or something?  I'm not a javascript programmer.
How do I fix this? thanks.  page is >> https://blockstack.world

Jeremy Ruston

unread,
Jan 30, 2020, 6:46:36 AM1/30/20
to TiddlyWiki
Hi Brad

That error message does indeed generally indicate a missing closing curly brace in JavaScript. Given that the wiki works fine on the other browsers I’ve tried, it seems maybe the JavaScript implementation on the Android phone is old.

Can you try opening https://browserleaks.com/features on your phone, and then scrolling down to the section headed "ECMAScript Features Detection” and check whether all the rows are marked “true” with a tick (see below).

Best wishes

Jeremy.



--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/93b45dae-a649-43bd-81d7-63ae4d365f17%40googlegroups.com.

Brad Baker

unread,
Jan 30, 2020, 2:46:40 PM1/30/20
to tiddl...@googlegroups.com
Sorry false alarm.  Turns out it was a browser issue. The first two lesser-known browsers I had used on my phone, the default browser that came with my new Xiaomi Redi Note 8 phone, and the CM Browser, both had the problem but when I tried using the Android Chrome browser it worked fine, the same as with Vivaldi, Chromium, and Falkon on Linux.

Brad Baker

unread,
Jan 30, 2020, 2:55:09 PM1/30/20
to TiddlyWiki
That section looks exactly the same on the default browser that came with my Xiaomi phone.


On Thursday, January 30, 2020 at 8:46:36 AM UTC-3, Jeremy Ruston wrote:
Hi Brad

That error message does indeed generally indicate a missing closing curly brace in JavaScript. Given that the wiki works fine on the other browsers I’ve tried, it seems maybe the JavaScript implementation on the Android phone is old.

Can you try opening https://browserleaks.com/features on your phone, and then scrolling down to the section headed "ECMAScript Features Detection” and check whether all the rows are marked “true” with a tick (see below).

Best wishes

Jeremy.

On 30 Jan 2020, at 01:46, Brad Baker <bbake...@gmail.com> wrote:

Hi.  I have a wiki which displays w/Linux browsers but when I view it with my Android phone (I tried two different browsers)
I get this red popup box that says "Internal Javascript Error" "Uncaught SyntaxError: Unexpected end of input".
I assume this is perhaps a missing close bracket or something?  I'm not a javascript programmer.
How do I fix this? thanks.  page is >> https://blockstack.world

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages