On Saturday, 29 December 2018 18:12:04 UTC-7, David Farmer wrote:
>
>
> If I keep the jquery from sagecell.sagemath.org and comment out the 
> embedded_sagecell.js, then the problem persists.  (And I see that error 
> message in console "e.indexOf is not a function".)  (Same in Firefox, 
> Safari, and Chrome.) 
>

This suggests that the problem is with PreTeXt, not sagecell. Included 
jQuery (coming from jupyter/notebook project) got upgraded from 2.2 in Sage 
8.4 to 3.3 in Sage 8.5.

If I use a really old version of jQuery (but one that is adequate for 
> the javascript for PreTeXt and knowl.js), then load embedded_sagecell.js, 
> the problem persists. 
>

This may indicate some problem with the way embedded_sagecell.js bundles 
jQuery. My understanding was that require.js will "hide" the internal 
jQuery version and will not interfere with whatever is loaded outside. But 
perhaps is has to do some global settings anyway and so overrides the old 
version included first. 

-- 
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/046fafd4-99ab-4bd5-b00e-3923f1ef29dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to