Are AndTidWiki and TW 5.1.17 compatible?

75 views
Skip to first unread message

Mark S.

unread,
Jun 13, 2018, 1:23:16 PM6/13/18
to TiddlyWiki
Attempting to use an empty 5.1.17 TW on AndTidWiki, I get the following message upon loading:

Syntax error in boot module $:/core/modules/savers/put.js:
Unexpected identifier SyntaxError: Unexpected identifier at eval (native) at <error: TypeError: Object #<error> has no method '__lookupGetter__'> at Object.$tw.modules.execute (file:///storage/extSdCard/andtidwiki/empty517.html:9713:15) at file:///storage/extSdCard/andtidwiki/empty517.html:9753:30 at <error: TypeError: Object #<error> has no method '__lookupGetter__'> at Object.$tw.modules.forEachModuleOfType (file:///storage/extSdCard/andtidwiki/empty517.html:9752:12) at SaverHandler.initSavers (eval at <anonymous> (file:///storage/extSdCard/andtidwiki/empty517.html:9424:22), <anonymous>:120:14) at new SaverHandler (eval at <anonymous> (file:///storage/extSdCard/andtidwiki/empty517.html:9424:22), <anonymous>:30:8) at Object.exports.startup (eval at <anonymous> (file:///storage/extSdCard/andtidwiki/empty517.html:9424:22), <anonymous>:126:21) at <error: TypeError: Object #<error> has no method '__lookupGetter__'>

It looks like something is happening down in the savers (even though I didn't invoke the saver).

Anyone else seeing this problem?

Thanks!
-- Mark

Jeremy Ruston

unread,
Jun 14, 2018, 3:19:05 AM6/14/18
to tiddl...@googlegroups.com
AndTidWiki only supports ECMA Script 5, which came out in about 2011. Usually that's OK, because TiddlyWiki itself sticks to the same conservative subset of JavaScript.

However, in 5.1.17 one tiny bit of post-ES5 code was included in the "put saver". It breaks AndTidWiki, and some older testing tools like CasperJS.

I've fixed the problem for 5.1.18 here:


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 post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/60453671-7efe-41e5-aff5-599bb0e3f7c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages