add Reveal.getConfig(), replace use of window.globals (#98)

This commit is contained in:
Hakim El Hattab committed 2013-03-08 19:05:58 -05:00
1 parent 2bd5e8b65b
commit 825fe51de9
5 files changed
+15 -14

No files matched your search

+5 -3
View File
@@ -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 = {};