aboutsummaryrefslogtreecommitdiff
path: root/plugin/math
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-08-18 14:13:55 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-08-18 14:13:55 -0400
commitc9853233ae51e84f589797991dbd69dfac103471 (patch)
treea193065c2c4826aa99b4bcc5da361e3990d9d1ae /plugin/math
parent271bae6b563ef1a625cf582934d589759cec7db7 (diff)
downloadperl-software-in-gnu-guix-c9853233ae51e84f589797991dbd69dfac103471.tar
perl-software-in-gnu-guix-c9853233ae51e84f589797991dbd69dfac103471.tar.gz
rename math plugin config option
Diffstat (limited to 'plugin/math')
-rwxr-xr-xplugin/math/math.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin/math/math.js b/plugin/math/math.js
index 4e3402e..d55d9d1 100755
--- a/plugin/math/math.js
+++ b/plugin/math/math.js
@@ -6,11 +6,11 @@
*/
var RevealMath = window.RevealMath || (function(){
- var config = Reveal.getConfig().math || {};
- config.mathjax = config.mathjax || 'http://cdn.mathjax.org/mathjax/latest/MathJax.js';
- config.dialect = config.dialect || 'TeX-AMS_HTML-full';
+ var options = Reveal.getConfig().math || {};
+ options.mathjax = options.mathjax || 'http://cdn.mathjax.org/mathjax/latest/MathJax.js';
+ options.config = options.config || 'TeX-AMS_HTML-full';
- loadScript( config.mathjax + '?config=' + config.dialect, function() {
+ loadScript( options.mathjax + '?config=' + options.config, function() {
MathJax.Hub.Config({
messageStyle: 'none',