Actually update katex

This commit is contained in:
Emily Eisenberg 2014-09-15 00:08:09 -07:00
parent af0522b8cf
commit 5b56af6c06
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
window.startup = function() { window.startup = function() {
var tex = document.getElementsByClassName("tex"); var tex = document.getElementsByClassName("tex");
Array.prototype.forEach.call(tex, function(el) { Array.prototype.forEach.call(tex, function(el) {
katex.process(el.getAttribute("data-expr"), el); katex.render(el.getAttribute("data-expr"), el);
}); });
var demoInput = document.getElementById("demo-input"); var demoInput = document.getElementById("demo-input");