From c9853233ae51e84f589797991dbd69dfac103471 Mon Sep 17 00:00:00 2001
From: Hakim El Hattab <hakim.elhattab@gmail.com>
Date: Sun, 18 Aug 2013 14:13:55 -0400
Subject: [PATCH] rename math plugin config option

---
 examples/math.html  | 2 +-
 plugin/math/math.js | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/examples/math.html b/examples/math.html
index 867c45e..b0f0763 100644
--- a/examples/math.html
+++ b/examples/math.html
@@ -183,7 +183,7 @@
 
 				math: {
 					// mathjax: 'http://cdn.mathjax.org/mathjax/latest/MathJax.js',
-					dialect: 'TeX-AMS_HTML-full'
+					config: 'TeX-AMS_HTML-full'
 				},
 
 				dependencies: [
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',
-- 
GitLab