Disable tests, remove brazilian-rails git repository
This commit is contained in:
@@ -4,3 +4,4 @@
|
||||
//= require lib/dragdrop
|
||||
//= require lib/event-selectors
|
||||
//= require application
|
||||
//= require latex
|
||||
|
||||
10
app/assets/javascripts/latex.js
Normal file
10
app/assets/javascripts/latex.js
Normal file
@@ -0,0 +1,10 @@
|
||||
MathJax.Hub.Config({
|
||||
tex2jax: {
|
||||
inlineMath: [['{$','$}']],
|
||||
displayMath: [['{$$','$$}']]
|
||||
},
|
||||
TeX: {
|
||||
equationNumbers: { autoNumber: "AMS" },
|
||||
extensions: ["AMSmath.js", "AMSsymbols.js", "color.js"]
|
||||
}
|
||||
});
|
||||
@@ -19,10 +19,8 @@
|
||||
|
||||
%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: [['{$$','$$}']]}});
|
||||
= javascript_include_tag :base
|
||||
|
||||
%body{'onload' => 'javascript: startup()'}
|
||||
#wrapper
|
||||
|
||||
Reference in New Issue
Block a user