Finish removing MathJax from Live Preview.

This commit is contained in:
bootstraponline
2012-09-02 15:27:32 -06:00
parent 5f9e91656e
commit 0cf0fad50e
2 changed files with 0 additions and 8 deletions
@@ -39,11 +39,5 @@ var require = {
<script src='js/sundown.js'></script>
<script src='js/md_sundown.js'></script>
<script src='js/livepreview.js'></script>
<!--<script>(function(d,j){
j = d.createElement('script');
j.src = 'https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
(d.head || d.getElementsByTagName('head')[0]).appendChild(j);
}(document));
</script>-->
</body>
</html>
@@ -269,8 +269,6 @@ var makePreviewHtml = function () {
// Update the text using feature detection to support IE.
// preview.innerHTML = text; // this doesn't work on IE.
previewSet( text );
// MathJax is loaded asynchronously.
if (typeof MathJax != 'undefined') { MathJax.Hub.Typeset( content ); }
// highlight code blocks.
var codeElements = preview.getElementsByTagName( 'pre' );