On Saturday, 29 December 2018 15:32:26 UTC-7, David Farmer wrote: > > 1. Is it possible to revert the version served at > https://sagecell.sagemath.org/static/jquery.min.js > so that the js used by PreTeXt will work again? >
I think it is highly undesirable: jQuery which is bundled in embedded_sagecell.js and is available separately at that location is coming from Jupyter components and so presumably is the one that is needed for them to function. I do see the problems you have described and got a report recently that Firefox 64 on Ubuntu 18.04 does not show the code box on sagecell.sagemath.org. As I have recently upgraded servers to Sage 8.5, this is likely to be related. Reverting back to 8.4 may hide these problems, but won't help with fixing them. > 2. When we start serving our own jQuery, do I have to do something > to avoid a conflict between the (older) version of jQuery we load > explicitly, and the (presumably newer) version needed for sage cells? > I have no idea and would be very happy if someone could take a look at it as well and share some thoughts. "Our" jQuery is loaded via require.js here https://github.com/sagemath/sagecell/blob/master/js/cell.js > > 3. The error message about e.indexOf does not seem to impair the > functioning of sage cells. Could that be a jQuery error which makes > a difference to some javascript, but not to sage cells? > Maybe. The Firefox issue I mentioned shows errors related to jquery-touch-punch, which should not matter much, except that overall JS processing may stop. I realize that the example I am providing is far from minimal, > so please let me know if I need to make one. But I think I have > identified the problem because if I comment out the jquery.min.js > and the embedded_sagecell.js coming from sagecell.sagemath.org, > and instead insert an earlier version of jquery.min.js, then > those error messages go away and things work as expected. > To clarify: if you comment out embedded_sagecell.js but keep using jquery.min.js from sagecell site the problems are visible? Thank you! Andrey -- You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/cc42543f-b0ec-4bbb-912a-efb411438711%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
