Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (24 sloc) 0.923 kB
<meta name="viewport" content="width=device-width"/>
<script src="http://aleph.sagemath.org/static/jquery.min.js"></script>
<script src="http://aleph.sagemath.org/static/embedded_sagecell.js"></script>
<script>
$(function () {
// For some reason, MathJax gets messed up if we don't put this timeout.
// my guess is it has to do with us appending script tags to the end
// the head element, but I don't know.
setTimeout(function() {
sagecell.loadMathJax=false;
sagecell.makeSagecell({inputLocation: '.asagecell'});
sagecell.makeSagecell({inputLocation: '.aoctavecell',
defaultLanguage: "octave", languages: sagecell.allLanguages});
}, 1000);
//console.log(MathJax);
});
</script>
<script>
$(function() {
$(document).on("click", '.collapsible .title', function(e) {
var body = $(e.target.parentElement).find('.body').slideToggle("fast").find('.CodeMirror').each(function(i, e) {e.CodeMirror.refresh()});
});
});
</script>
Jump to Line
Something went wrong with that request. Please try again.