aboutsummaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab2013-03-08 19:05:58 -0500
committerHakim El Hattab2013-03-08 19:05:58 -0500
commit825fe51de9bee6d4727a021f1109e37380eff012 (patch)
tree341e8536ff6dadea2e71e3a7ed9c65e992b5b1b4 /js/reveal.js
parent2bd5e8b65b5e015c7c7ceffeff845e41811007ed (diff)
add Reveal.getConfig(), replace use of window.globals (#98)
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/js/reveal.js b/js/reveal.js
index b767594..5f9cb46 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -160,9 +160,6 @@ var Reveal = (function(){
// Copy options over to our config object
extend( config, options );
- // Push up globals
- window.globals = config.globals;
-
// Hide the address bar in mobile browsers
hideAddressBar();
@@ -2031,6 +2028,11 @@ var Reveal = (function(){
return scale;
},
+ // Returns the current configuration object
+ getConfig: function() {
+ return config;
+ },
+
// Helper method, retrieves query string as a key/value hash
getQueryHash: function() {
var query = {};