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:

https://github.com/Jermolene/TiddlyWiki5/commit/aba9c94f5ad20dbcfc36c3a397cb5af95306ea6d

Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 13 Jun 2018, at 18:23, 'Mark S.' via TiddlyWiki 
> <tiddlywiki@googlegroups.com> wrote:
> 
> 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
> -- 
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@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.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/2C7D7EA8-38FD-472C-9B27-DAF666F25B53%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to