From 825fe51de9bee6d4727a021f1109e37380eff012 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Fri, 8 Mar 2013 19:05:58 -0500 Subject: add Reveal.getConfig(), replace use of window.globals (#98) --- js/reveal.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'js/reveal.js') 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 = {}; -- cgit v1.2.3