add Reveal.getConfig(), replace use of window.globals (#98)
This commit is contained in:
parent
2bd5e8b65b
commit
825fe51de9
5 changed files with 15 additions and 14 deletions
|
@ -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 = {};
|
||||
|
|
4
js/reveal.min.js
vendored
4
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue