initial commit to seperate repo
This commit is contained in:
commit
8630e4db13
23669 changed files with 1067407 additions and 0 deletions
16
output.bck/assets/js/mathjax.js
Normal file
16
output.bck/assets/js/mathjax.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// We wait for the onload function to load MathJax after the page is completely loaded.
|
||||
// MathJax is loaded 1 unit of time after the page is ready.
|
||||
// This hack prevent problems when you use social button from addthis.
|
||||
//
|
||||
window.onload = function () {
|
||||
setTimeout(function () {
|
||||
var script = document.createElement("script");
|
||||
if (location.protocol == 'https:') {
|
||||
scriptbase = "https://c328740.ssl.cf1.rackcdn.com/";
|
||||
} else {
|
||||
scriptbase = "http://cdn.mathjax.org/";
|
||||
}
|
||||
script.src = scriptbase + "mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
||||
document.getElementsByTagName("body")[0].appendChild(script);
|
||||
},1)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue