add Reveal.getConfig(), replace use of window.globals (#98)
This commit is contained in:
@ -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
Reference in New Issue
Block a user