fixing javascripts

This commit is contained in:
2013-07-14 15:39:26 -04:00
parent e75d1f23ea
commit cdafe05e86
4 changed files with 98 additions and 10 deletions

View File

@@ -20,6 +20,9 @@
%script{:type => 'text/javascript'}
== BASE_PATH = "#{App.base_path}";
= javascript_include_tag :base
= javascript_include_tag 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML'
%script{:type => 'text/x-mathjax-config'}
== MathJax.Hub.Config({tex2jax: {inlineMath: [['{$','$}']], displayMath: [['{$$','$$}']]}});
%body{'onload' => 'javascript: startup()'}
#wrapper