Okay, lots of good points here.
Since we are getting back on track with the overhaul, and once the
CSS is a little better we will turn to the JS, I decided to be minimal
and just go with checking for a variable before fetching that file.
That variable does not exist, so the experimental editing feature
is not available for the sample article. I'll send a pull request.
Switching to using a PretextConfig is easy enough to do later.
I think that will also help with publisher styling options,
readability options, etc.
I also commented out a bunch of messages that were polluting the
console.
David
ps. It seems that it is impossible to suppress a 404 error message,
so any solution has to involve not trying to fetch that file when
it is not supposed to exist.
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
pretext-dev...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/pretext-dev/d82cbf7f-46cb-dc1c-d66f-a411a6da93c8%40gmail.com.
>