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.)
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.
If I load embedded_sagecell.js, and then load an old version of
jQuery, then things work again.
If I load the jQuery from sagecell.sagemath.org, then load
embedded_sagecell.js, then load an old jQuery, then things work
as expected.
However, if I load jQuery from sagecell.sagemath.org, then load
embedded_sagecell.js, then dynamically add and old jQuery at the
end then the problem still occurs. (So that means I don't have an easy
work-around to fix existing pages without rebuilding them.)
I get the e.indexOf error in the console (twice) whenever
embedded_sagecell.js is loaded.
On Sat, 29 Dec 2018, Andrey Novoseltsev wrote:
P.S. What happens if you load explicitly your "old" jQuery and only
embedded_sagecell.js from sagecell server?
--
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/f3ce611f-c5da-4e46-b79d-3bfbb250e2b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/alpine.LRH.2.21.1812291940320.17427%40li375-150.members.linode.com.
For more options, visit https://groups.google.com/d/optout.