Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (24 sloc) 923 Bytes
<meta name="viewport" content="width=device-width"/>
<script src=""></script>
<script src=""></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.makeSagecell({inputLocation: '.asagecell'});
sagecell.makeSagecell({inputLocation: '.aoctavecell',
defaultLanguage: "octave", languages: sagecell.allLanguages});
}, 1000);
$(function() {
$(document).on("click", '.collapsible .title', function(e) {
var body = $('.body').slideToggle("fast").find('.CodeMirror').each(function(i, e) {e.CodeMirror.refresh()});